aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2024-08-21 19:31:47 +0200
committerAndre Weissflog <floooh@gmail.com>2024-08-21 19:31:47 +0200
commitc34c7fa1da48e2819c1498879cd2def1fa82a77e (patch)
tree561f822d6be073d0ef032cede4dcdf0b6dedde4c
parent4824328c181795bb1dcd2de2179e69e9472196e9 (diff)
gh actions: wip
-rw-r--r--.github/workflows/gen_bindings.yml18
1 files changed, 9 insertions, 9 deletions
diff --git a/.github/workflows/gen_bindings.yml b/.github/workflows/gen_bindings.yml
index 39af7866..078b2d23 100644
--- a/.github/workflows/gen_bindings.yml
+++ b/.github/workflows/gen_bindings.yml
@@ -140,10 +140,11 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{matrix.os}}
steps:
- - uses: jiro4989/setup-nim-action@v2
- with:
- nim-version: '2.0.x'
- repo-token: ${{ secrets.GITHUB_TOKEN }}
+ - if: runner.os == 'Linux'
+ name: prepare
+ run: |
+ sudo apt-get update
+ sudo apt-get install libglu1-mesa-dev mesa-common-dev xorg-dev libasound-dev
- uses: actions/checkout@main
with:
repository: floooh/sokol-nim
@@ -151,11 +152,10 @@ jobs:
with:
name: ignore-me-nim
path: src/sokol
- - if: runner.os == 'Linux'
- name: prepare
- run: |
- sudo apt-get update
- sudo apt-get install libglu1-mesa-dev mesa-common-dev xorg-dev libasound-dev
+ - uses: jiro4989/setup-nim-action@v2
+ with:
+ nim-version: '2.0.x'
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: build
run: |
nimble install -Y