Create docker-publish.yml #9
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: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: install packages | |
run: | | |
sudo apt-get -y install cmake ninja-build meson | |
- name: configure | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "Pawel Wodnicki" | |
- name: build | |
run: | | |
mkdir build | |
cd build | |
cmake .. -GNinja -DFETCHCONTENT_QUIET=OFF | |
ninja package-llvm-toolchain | |