Skip to content

Commit

Permalink
experiment: do not copy, build own
Browse files Browse the repository at this point in the history
  • Loading branch information
adamws committed Oct 27, 2024
1 parent 8e46027 commit bae2ccc
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,22 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
- uses: mlugg/setup-zig@v1
with:
name: klawa
path: zig-out/bin
version: latest
- name: Install dependencies
shell: bash
run: |
sudo apt-get install ffmpeg xdotool xvfb \
libc6-dbg
sudo apt-get install libgl-dev libxi-dev \
libx11-dev xserver-xorg-dev xorg-dev \
ffmpeg xdotool xvfb \
libc6-dbg util-linux
- run: |
lscpu
zig build -Dcpu=x86_64 -Dtarget=x86_64-native --verbose
- name: Run tests
shell: bash
run: |
chmod +x zig-out/bin/klawa
ldd zig-out/bin/klawa
cd tests && ./test.sh
- uses: actions/upload-artifact@v4
Expand Down

0 comments on commit bae2ccc

Please sign in to comment.