Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Force67 committed Nov 27, 2024
1 parent 3eb6aee commit 4762d07
Showing 1 changed file with 29 additions and 11 deletions.
40 changes: 29 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,40 @@ name: C/C++ CI

on:
push:
branches: [ "devel" ]
branches: [ "devel", "feat/ci" ]
pull_request:
branches: [ "devel" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: configure
run: ./configure
- name: make
run: make
- name: make check
run: make check
- name: make distcheck
run: make distcheck
- name: Check out equilibrium src
uses: actions/checkout@v4
with:
repository: Force67/equilibrium
ref: devel5
token: ${{ secrets.GH_TOKEN }}

- name: Check out aki
uses: actions/checkout@v4
with:
repository: aki-language/aki
ref: devel
token: ${{ secrets.GH_TOKEN }}
path: "equilibrium/projects/aki"

- uses: cachix/install-nix-action@v27
with:
github_access_token: ${{ secrets.GH_TOKEN }}

- name: Generate Makefile
run: |
cd equilibrium/build
./premake_linux debug
- name: Build
run: |
cd equilibrium/out/gmake2
nix develop --ignore-environment --command make akitrans

0 comments on commit 4762d07

Please sign in to comment.