Skip to content

Commit

Permalink
Adds github workflow for building on Ubuntu.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmsc authored Apr 23, 2024
1 parent 38a9ea1 commit d29355c
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: C/C++ CI

on:
workflow_dispatch:
push:
branches: [ "master" ]
pull_request:

jobs:
build-amd64:
name: Build and run tests on Linux amd64
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v3
- name: make
run: make -j2
- name: running testsuite
run: make test -j2
- name: make dist
run: make dist
- name: Archive ZIP
uses: actions/upload-artifact@v4
with:
name: fastbasic.atr
path: build/fastbasic.atr
- name: Archive ZIP
uses: actions/upload-artifact@v4
with:
name: fastbasic-linux-amd64.zip
path: build/fastbasic.zip

0 comments on commit d29355c

Please sign in to comment.