fix(d3d11): add lock to input/so layout map #294
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: CI Build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: macos-14 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Cache Toolchains | |
id: cache-toolchains | |
uses: actions/cache@v4 | |
with: | |
key: cache-key-${{ hashFiles('configure.sh') }} | |
restore-keys: | | |
cache-key-${{ hashFiles('configure.sh') }} | |
path: | | |
./toolchains | |
- name: Install Development Environment | |
run: | | |
brew install ninja meson mingw-w64 | |
- name: Configuration | |
if: ${{ steps.cache-toolchains.outputs.cache-hit != 'true' }} | |
run: ./configure.sh | |
- name: Save Cache | |
id: cache-save | |
if: ${{ steps.cache-toolchains.outputs.cache-hit != 'true' }} | |
uses: actions/cache/save@v4 | |
with: | |
key: cache-key-${{ hashFiles('configure.sh') }} | |
path: | | |
./toolchains | |
- name: Build | |
run: | | |
meson setup --cross-file build-win64.txt --native-file build-osx.txt -Dnative_llvm_path=toolchains/llvm-darwin -Dbuild_airconv_for_windows=true build --buildtype debugoptimized | |
meson compile -C build | |
- name: Tar | |
run: tar -zcf artifacts.tar.gz build/src | |
- name: Upload | |
uses: actions/upload-artifact@v4 | |
with: | |
name: artifacts | |
path: artifacts.tar.gz | |
- name: Build (release) | |
run: | | |
meson setup --cross-file build-win64.txt --native-file build-osx.txt -Dnative_llvm_path=toolchains/llvm-darwin build-release --buildtype release | |
meson compile -C build-release | |
- name: Tar (release) | |
run: tar -zcf artifacts-release.tar.gz build-release/src | |
- name: Upload (releases) | |
uses: actions/upload-artifact@v4 | |
with: | |
name: artifacts-release | |
path: artifacts-release.tar.gz | |
- name: Build (gcc-release) | |
run: | | |
meson setup --cross-file build-win64-sys.txt --native-file build-osx.txt -Dnative_llvm_path=toolchains/llvm-darwin build-release-gcc --buildtype release | |
meson compile -C build-release-gcc | |
- name: Tar (gcc-release) | |
run: tar -zcf artifacts-release-gcc.tar.gz build-release-gcc/src | |
- name: Upload (gcc-releases) | |
uses: actions/upload-artifact@v4 | |
with: | |
name: artifacts-release-gcc | |
path: artifacts-release-gcc.tar.gz |