From 5d11f3a40b54f563c579121fa4f36a2510ce65a1 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sun, 9 Mar 2025 14:02:54 -0400 Subject: project: Add github workflows Signed-off-by: Ian Moffett --- .github/workflows/cicd.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/cicd.yml (limited to '.github/workflows/cicd.yml') diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml new file mode 100644 index 0000000..8dd116e --- /dev/null +++ b/.github/workflows/cicd.yml @@ -0,0 +1,25 @@ +name: CI +on: + push: + branches: + - main + - expt +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v2 + - name: Update system + run: sudo apt-get update + - name: Install libs + run: sudo apt-get install -y flex bison libfl-dev + - name: Install tools + run: lld clang xorriso + run: sudo apt-get update && sudo apt-get install -y flex bison libfl-dev + - name: Bootstrap and configure + run: ./bootstrap && ./configure + - name: Build world with clang + run: make + - name: Test -hyra-gcc and binutils + run: make cross -- cgit v1.2.3 From ad4765f4423e8906a1db39e674fa30d56e18624d Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sun, 9 Mar 2025 14:26:09 -0400 Subject: project: Update CI workflow name Signed-off-by: Ian Moffett --- .github/workflows/cicd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github/workflows/cicd.yml') diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 8dd116e..f084539 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -1,4 +1,4 @@ -name: CI +name: CI on-push on: push: branches: -- cgit v1.2.3 From e329748e4cd79503e5c282c1cab88c0c79522e76 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sun, 9 Mar 2025 14:27:26 -0400 Subject: project: Final workflow fixups Signed-off-by: Ian Moffett --- .github/workflows/cicd.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '.github/workflows/cicd.yml') diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index f084539..ac2a748 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -12,11 +12,12 @@ jobs: uses: actions/checkout@v2 - name: Update system run: sudo apt-get update + - name: Export envs + run: export TERM="headless" - name: Install libs run: sudo apt-get install -y flex bison libfl-dev - name: Install tools - run: lld clang xorriso - run: sudo apt-get update && sudo apt-get install -y flex bison libfl-dev + run: sudo apt-get install -y lld clang xorriso - name: Bootstrap and configure run: ./bootstrap && ./configure - name: Build world with clang -- cgit v1.2.3 From 7ddd9a7f38e964f66565918c7af35ed78ff52193 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sun, 9 Mar 2025 14:42:47 -0400 Subject: project: Update name Signed-off-by: Ian Moffett --- .github/workflows/cicd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github/workflows/cicd.yml') diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index ac2a748..17d202f 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -22,5 +22,5 @@ jobs: run: ./bootstrap && ./configure - name: Build world with clang run: make - - name: Test -hyra-gcc and binutils + - name: Build toolchain run: make cross -- cgit v1.2.3 From 82511eb786746589802604f804112c66ebe99ed1 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sun, 9 Mar 2025 14:49:30 -0400 Subject: workflow: Don't build toolchain in this test Signed-off-by: Ian Moffett --- .github/workflows/cicd.yml | 2 -- 1 file changed, 2 deletions(-) (limited to '.github/workflows/cicd.yml') diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 17d202f..ad6d236 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -22,5 +22,3 @@ jobs: run: ./bootstrap && ./configure - name: Build world with clang run: make - - name: Build toolchain - run: make cross -- cgit v1.2.3