Skip to content

Commit 0ed35ea

Browse files
committed
Switch to zig purely as a build system
2 parents e7ea71b + ec656e1 commit 0ed35ea

File tree

107 files changed

+349
-76755
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+349
-76755
lines changed

.gitattributes

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
*.m linguist-language=Objective-C
22
.gitignore export-ignore
33
.gitattributes export-ignore
4-
.travis.yml export-ignore
5-
.appveyor.yml export-ignore

.github/pull_request_template.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2+
3+
- [ ] By selecting this checkbox, I agree to license my contributions to this project under the license(s) described in the LICENSE file, and I have the right to do so or have received permission to do so by an employer or client I am producing work for whom has this right.

.github/workflows/ci.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: CI
2+
on:
3+
- push
4+
- pull_request
5+
jobs:
6+
x86_64-linux:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout
10+
uses: actions/checkout@v2
11+
with:
12+
submodules: 'true'
13+
- name: Setup Zig
14+
run: |
15+
sudo apt install xz-utils
16+
sudo sh -c 'wget -c https://pkg.machengine.org/zig/zig-linux-x86_64-0.14.0-dev.1911+3bf89f55c.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
17+
- name: build
18+
run: zig build
19+
x86_64-windows:
20+
runs-on: windows-latest
21+
steps:
22+
- name: Checkout
23+
uses: actions/checkout@v2
24+
with:
25+
submodules: 'true'
26+
- name: Setup Zig
27+
run: |
28+
$ProgressPreference = 'SilentlyContinue'
29+
Invoke-WebRequest -Uri "https://pkg.machengine.org/zig/zig-windows-x86_64-0.14.0-dev.1911+3bf89f55c.zip" -OutFile "C:\zig.zip"
30+
cd C:\
31+
7z x zig.zip
32+
Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.14.0-dev.1911+3bf89f55c\"
33+
- name: build
34+
run: zig build
35+
x86_64-macos:
36+
runs-on: macos-latest
37+
steps:
38+
- name: Checkout
39+
uses: actions/checkout@v2
40+
with:
41+
submodules: 'true'
42+
- name: Setup Zig
43+
run: |
44+
brew install xz
45+
sudo sh -c 'wget -c https://pkg.machengine.org/zig/zig-macos-x86_64-0.14.0-dev.1911+3bf89f55c.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
46+
- name: build
47+
run: zig build
48+
env:
49+
AGREE: true

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,6 @@ tests/triangle-vulkan
102102
tests/window
103103
tests/windows
104104

105+
# Zig stuff
106+
zig-*
107+
.zig-cache

.mailmap

Lines changed: 0 additions & 10 deletions
This file was deleted.

CMake/GenerateMappings.cmake

Lines changed: 0 additions & 50 deletions
This file was deleted.

CMake/Info.plist.in

Lines changed: 0 additions & 38 deletions
This file was deleted.

CMake/cmake_uninstall.cmake.in

Lines changed: 0 additions & 29 deletions
This file was deleted.

CMake/glfw3.pc.in

Lines changed: 0 additions & 13 deletions
This file was deleted.

CMake/glfw3Config.cmake.in

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)