[compiler] Allow mir-emit even in case analyze pass was skipped. #28
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 | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
windows-debug: | |
if: "!contains(github.event.head_commit.message, '[no-ci]')" | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build | |
shell: cmd | |
run: | | |
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" | |
./build.bat debug all | |
windows-release: | |
if: "!contains(github.event.head_commit.message, '[no-ci]')" | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build | |
shell: cmd | |
run: | | |
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" | |
./build.bat assert all | |
linux-debug: | |
if: "!contains(github.event.head_commit.message, '[no-ci]')" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Download LLVM | |
run: | | |
wget https://apt.llvm.org/llvm.sh | |
chmod +x llvm.sh | |
sudo ./llvm.sh 18 | |
- name: Build | |
run: | | |
./build.sh debug all | |
linux-release: | |
if: "!contains(github.event.head_commit.message, '[no-ci]')" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Download LLVM | |
run: | | |
wget https://apt.llvm.org/llvm.sh | |
chmod +x llvm.sh | |
sudo ./llvm.sh 18 | |
- name: Build | |
run: | | |
./build.sh assert all | |
macos-debug: | |
if: "!contains(github.event.head_commit.message, '[no-ci]')" | |
runs-on: macOS-14 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Download LLVM | |
run: | | |
brew install llvm@18 zlib ncurses | |
TMP_PATH=$(xcrun --show-sdk-path)/user/include | |
echo "CPATH=$TMP_PATH" >> $GITHUB_ENV | |
- name: Build | |
run: | | |
./build.sh debug all | |
macos-release: | |
if: "!contains(github.event.head_commit.message, '[no-ci]')" | |
runs-on: macOS-14 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Download LLVM | |
run: | | |
brew install llvm@18 zlib ncurses | |
TMP_PATH=$(xcrun --show-sdk-path)/user/include | |
echo "CPATH=$TMP_PATH" >> $GITHUB_ENV | |
- name: Build | |
run: | | |
./build.sh assert all |