Rename to axslcc [release 1.9.6] #30
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
paths-ignore: | |
'.github/workflows/dist.yml' | |
jobs: | |
win64: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: build | |
shell: pwsh | |
run: | | |
cmake -B build | |
cmake --build build --config Release --target glslcc | |
- name: Upload | |
uses: actions/upload-artifact@v4 | |
with: | |
path: ./build/src/Release/glslcc.exe | |
name: glslcc-win64 | |
linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: build | |
shell: pwsh | |
run: | | |
cmake -B build -DCMAKE_BUILD_TYPE=Release | |
cmake --build build --config Release --target glslcc | |
- name: Upload | |
uses: actions/upload-artifact@v4 | |
with: | |
path: ./build/src/glslcc | |
name: glslcc-linux | |
osx-arm64: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Xcode version | |
uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: '14.3' | |
- name: build | |
shell: pwsh | |
run: | | |
cmake -B build -DCMAKE_BUILD_TYPE=Release "-DCMAKE_OSX_DEPLOYMENT_TARGET=10.15" | |
cmake --build build --config Release --target glslcc | |
lipo -info ./build/src/glslcc | |
- name: Upload | |
uses: actions/upload-artifact@v4 | |
with: | |
path: ./build/src/glslcc | |
name: glslcc-osx-arm64 | |
osx-x64: | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Xcode version | |
uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: '14.2' | |
- name: build | |
shell: pwsh | |
run: | | |
cmake -B build -DCMAKE_BUILD_TYPE=Release "-DCMAKE_OSX_DEPLOYMENT_TARGET=10.15" | |
cmake --build build --config Release --target glslcc | |
lipo -info ./build/src/glslcc | |
- name: Upload | |
uses: actions/upload-artifact@v4 | |
with: | |
path: ./build/src/glslcc | |
name: glslcc-osx-x64 |