ci: fix projects matrix path
This commit is contained in:
parent
47bdb5ea03
commit
ec99abc5d4
1 changed files with 4 additions and 4 deletions
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
|
@ -7,7 +7,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
project: ['.', 'glfw', 'freetype']
|
||||
project: ['.', 'libs/glfw', 'libs/freetype']
|
||||
# We want to run on external PRs, but not on our own internal PRs as they'll be run by the push
|
||||
# to the branch.
|
||||
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
|
||||
|
|
@ -20,9 +20,9 @@ jobs:
|
|||
run: |
|
||||
sudo apt install xz-utils libasound2-dev
|
||||
sudo sh -c 'wget -c https://ziglang.org/builds/zig-linux-x86_64-0.10.0-dev.3551+92568a009.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
||||
- name: x86_64-linux -> x86_64-linux-musl
|
||||
if: matrix.project == 'freetype' || matrix.project == 'glfw'
|
||||
run: cd ${{ matrix.project }} && zig build -Dtarget=x86_64-linux-musl
|
||||
# - name: x86_64-linux -> x86_64-linux-musl
|
||||
# if: matrix.project == 'libs/freetype' || matrix.project == 'libs/glfw'
|
||||
# run: cd ${{ matrix.project }} && zig build -Dtarget=x86_64-linux-musl
|
||||
- name: x86_64-linux -> x86_64-macos
|
||||
run: cd ${{ matrix.project }} && zig build -Dtarget=x86_64-macos.12-none
|
||||
env:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue