diff options
| author | jakubtomsu <66876057+jakubtomsu@users.noreply.github.com> | 2024-04-10 11:33:36 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-10 11:33:36 +0200 |
| commit | 8d6892970c98f184c49a7e772783b99c41b6bbbb (patch) | |
| tree | ce78808a3f69665470e08e736dcfe50456c95747 /.github/workflows | |
| parent | c122e380195b5c139544db70965bd1669f4e515d (diff) | |
Update to latest odin version (dev-2024-04), LLVM17 and enable MacOS again
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/gen_bindings.yml | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/.github/workflows/gen_bindings.yml b/.github/workflows/gen_bindings.yml index c0bb03e7..6d31a1e1 100644 --- a/.github/workflows/gen_bindings.yml +++ b/.github/workflows/gen_bindings.yml @@ -148,9 +148,7 @@ jobs: strategy: fail-fast: false matrix: - # FIXME: macOS Odin vs Homebrew LLVM currently seems broken - # os: [ubuntu-latest, macos-latest, windows-latest] - os: [ubuntu-latest, windows-latest] + os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{matrix.os}} steps: - uses: actions/checkout@v4 @@ -165,17 +163,26 @@ jobs: name: prepare-linux run: | sudo apt-get update - sudo apt-get install libglu1-mesa-dev mesa-common-dev xorg-dev libasound-dev llvm-14 - curl -L https://github.com/odin-lang/Odin/releases/download/dev-2023-08/odin-ubuntu-amd64-dev-2023-08.zip --output odin.zip + sudo apt-get install libglu1-mesa-dev mesa-common-dev xorg-dev libasound-dev + wget https://apt.llvm.org/llvm.sh + chmod +x llvm.sh + echo "/usr/lib/llvm-17/bin" >> $GITHUB_PATH + curl -L https://github.com/odin-lang/Odin/releases/download/dev-2024-04/odin-ubuntu-amd64-dev-2024-04.zip --output odin.zip unzip odin.zip + unzip dist.zip + rm -r ./dist/examples + mv ./dist/* ./ chmod a+x ./odin ./build_clibs_linux.sh - if: runner.os == 'macOS' name: prepare-macos run: | - brew install llvm@14 - curl -L https://github.com/odin-lang/Odin/releases/download/dev-2023-08/odin-macos-amd64-dev-2023-08.zip --output odin.zip + brew install llvm@17 + curl -L https://github.com/odin-lang/Odin/releases/download/dev-2024-04/odin-macos-amd64-dev-2024-04.zip --output odin.zip unzip odin.zip + unzip dist.zip + rm -r ./dist/examples + mv ./dist/* ./ chmod a+x ./odin ./build_clibs_macos.sh - if: runner.os == 'Windows' |