Skip to content

Commit 574b79a

Browse files
committed
idk anymore
1 parent 53c556d commit 574b79a

1 file changed

Lines changed: 7 additions & 23 deletions

File tree

.github/workflows/build.yml

Lines changed: 7 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,17 @@ on:
44

55
jobs:
66
build:
7-
strategy:
8-
matrix:
9-
include:
10-
- { target: aarch64-windows-gnu, runner: ubuntu-24.04, can_test: false }
11-
- { target: aarch64-linux-musl, runner: ubuntu-24.04-arm, can_test: false }
12-
- { target: aarch64-macos-none, runner: macos-26, can_test: true }
13-
- { target: x86_64-windows-gnu, runner: ubuntu-24.04, can_test: false }
14-
- { target: x86_64-linux-musl, runner: ubuntu-24.04, can_test: true }
15-
- { target: x86_64-macos-none, runner: macos-26-intel, can_test: true }
16-
- { target: arm-linux-musleabihf, runner: ubuntu-24.04-arm, can_test: true }
17-
- { target: x86-windows-gnu, runner: ubuntu-24.04, can_test: false }
18-
- { target: x86-linux-musl, runner: ubuntu-24.04, can_test: true }
19-
runs-on: ${{ matrix.runner }}
7+
runs-on: ubuntu-latest
208
env:
219
ZIG_TARGET: ${{ matrix.target }}
10+
strategy:
11+
matrix:
12+
target: [aarch64-windows-gnu, aarch64-linux-musl, aarch64-macos-none, x86_64-windows-gnu, x86_64-linux-musl, x86_64-macos-none, arm-linux-musleabihf, x86-windows-gnu, x86-linux-musl]
2213
steps:
2314
- name: Checkout
2415
uses: actions/checkout@main
2516
with:
17+
path: ${{ github.workspace }}
2618
submodules: true
2719

2820
- name: Setup Zig
@@ -46,8 +38,8 @@ jobs:
4638
mkdir build
4739
cd build
4840
cmake .. -DCMAKE_BUILD_TYPE=MinSizeRel \
49-
-DCMAKE_C_FLAGS="-D_LARGEFILE64_SOURCE=1 ${STATIC_FLAG}" \
50-
-DCMAKE_CXX_FLAGS="-D_LARGEFILE64_SOURCE=1 ${STATIC_FLAG}" \
41+
-DCMAKE_C_FLAGS="${STATIC_FLAG} -D_LARGEFILE64_SOURCE=1" \
42+
-DCMAKE_CXX_FLAGS="${STATIC_FLAG} -D_LARGEFILE64_SOURCE=1" \
5143
-DCMAKE_EXE_LINKER_FLAGS="${STATIC_FLAG}" \
5244
-DCMAKE_C_COMPILER="${TOOLCHAIN}/bin/cc" \
5345
-DCMAKE_CXX_COMPILER="${TOOLCHAIN}/bin/c++" \
@@ -60,14 +52,6 @@ jobs:
6052
-DCMAKE_RC_COMPILER="${TOOLCHAIN}/bin/rc"
6153
cmake --build . --config MinSizeRel -j"${JOBS}"
6254
63-
- name: Test
64-
if: matrix.can_test
65-
shell: bash
66-
run: |
67-
BINARY=$(/usr/bin/find build -maxdepth 1 -name "webify*" -type f | head -1)
68-
"$BINARY" --version
69-
"$BINARY" vcr.ttf
70-
7155
- name: Upload Artifact
7256
uses: actions/upload-artifact@v4
7357
with:

0 commit comments

Comments
 (0)