Skip to content

Commit

Permalink
misc: Add github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Qwinci committed Oct 16, 2024
1 parent 64a3109 commit 99b418c
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/it-compiles-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: It Compiles!
on: [push, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install dependencies
run: >
sudo apt-get update && sudo apt-get install clang binutils gcc g++ lld cmake ninja-build xorriso git -y
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: true

- name: Build (x86_64 Clang)
run: |
cmake -B build -G Ninja -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
ninja -C build
- name: Build (x86_64 Gcc)
run: |
cmake -B build -G Ninja
ninja -C build
- name: Build (Aarch64 Clang)
run: |
cmake -B build -G Ninja -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain_clang_aarch64.cmake
ninja -C build

0 comments on commit 99b418c

Please sign in to comment.