|
@@ -157,7 +157,7 @@ jobs:
|
|
# NOTE: see https://github.com/floooh/sokol-odin/blob/main/.github/workflows/main.yml
|
|
# NOTE: see https://github.com/floooh/sokol-odin/blob/main/.github/workflows/main.yml
|
|
- uses: ilammy/msvc-dev-cmd@v1
|
|
- uses: ilammy/msvc-dev-cmd@v1
|
|
- if: runner.os == 'Linux'
|
|
- if: runner.os == 'Linux'
|
|
- name: prepare-linux
|
|
|
|
|
|
+ name: build-linux
|
|
run: |
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get update
|
|
sudo apt-get install libglu1-mesa-dev mesa-common-dev xorg-dev libasound-dev llvm-11
|
|
sudo apt-get install libglu1-mesa-dev mesa-common-dev xorg-dev libasound-dev llvm-11
|
|
@@ -185,7 +185,7 @@ jobs:
|
|
ubuntu_artifacts/odin build examples/sgl-points -debug
|
|
ubuntu_artifacts/odin build examples/sgl-points -debug
|
|
ubuntu_artifacts/odin build examples/sgl-context -debug
|
|
ubuntu_artifacts/odin build examples/sgl-context -debug
|
|
- if: runner.os == 'macOS'
|
|
- if: runner.os == 'macOS'
|
|
- name: prepare-macos
|
|
|
|
|
|
+ name: build-macos
|
|
run: |
|
|
run: |
|
|
brew install llvm@11
|
|
brew install llvm@11
|
|
curl -L https://github.com/odin-lang/Odin/releases/download/dev-2023-03/odin-macos-amd64-dev-2023-03.zip --output odin.zip
|
|
curl -L https://github.com/odin-lang/Odin/releases/download/dev-2023-03/odin-macos-amd64-dev-2023-03.zip --output odin.zip
|
|
@@ -212,7 +212,7 @@ jobs:
|
|
macos_artifacts/odin build examples/sgl-points -debug
|
|
macos_artifacts/odin build examples/sgl-points -debug
|
|
macos_artifacts/odin build examples/sgl-context -debug
|
|
macos_artifacts/odin build examples/sgl-context -debug
|
|
- if: runner.os == 'Windows'
|
|
- if: runner.os == 'Windows'
|
|
- name: prepare-windows
|
|
|
|
|
|
+ name: build-windows
|
|
shell: cmd
|
|
shell: cmd
|
|
run: |
|
|
run: |
|
|
curl -L https://github.com/odin-lang/Odin/releases/download/dev-2023-03/odin-windows-amd64-dev-2023-03.zip --output odin.zip
|
|
curl -L https://github.com/odin-lang/Odin/releases/download/dev-2023-03/odin-windows-amd64-dev-2023-03.zip --output odin.zip
|
|
@@ -265,8 +265,8 @@ jobs:
|
|
run: |
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get update
|
|
sudo apt-get install libglu1-mesa-dev mesa-common-dev xorg-dev libasound-dev
|
|
sudo apt-get install libglu1-mesa-dev mesa-common-dev xorg-dev libasound-dev
|
|
- - name: Run cargo build --all-targets
|
|
|
|
- run: cargo build
|
|
|
|
|
|
+ - name: build
|
|
|
|
+ run: cargo build --all-targets
|
|
|
|
|
|
# only deploy the bindings for commits on the main branch
|
|
# only deploy the bindings for commits on the main branch
|
|
deploy-zig:
|
|
deploy-zig:
|