Reduce the size of the executable file (#16) #60
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] | |
jobs: | |
linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install llvm 18 | |
run: | | |
sudo apt-get purge --auto-remove llvm python3-lldb-14 llvm-14 | |
wget https://apt.llvm.org/llvm.sh | |
chmod +x llvm.sh | |
sudo ./llvm.sh 18 | |
rm llvm.sh | |
- name: Build | |
run: make all | |
- name: Install tools | |
run: make install | |
- name: Tests | |
run: make test | |
- name: Benchmark | |
run: make benchmark | |
macos: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install LLVM and Clang | |
run: | | |
brew install coreutils | |
brew install llvm@18 | |
- name: Build | |
run: export PATH="/opt/homebrew/opt/llvm/bin:$PATH" && make all |