-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
19 additions
and
16 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,31 +8,34 @@ on: | |
branches: [ main ] | ||
push: | ||
branches: [ main ] | ||
|
||
jobs: | ||
# container_test: | ||
# name: Docker build test | ||
# runs-on: ubuntu-20.04 | ||
# steps: | ||
# - name: Checkout repo | ||
# uses: actions/checkout@v4 | ||
# with: | ||
# ref: 'artifact' | ||
container_test: | ||
name: Docker build test | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: 'artifact' | ||
- name: Sanity check | ||
run: ls -l && docker --version | ||
# - name: Set up QEMU | ||
# uses: docker/setup-qemu-action@v3 | ||
# - name: Set up Docker Buildx | ||
# uses: docker/setup-buildx-action@v3 | ||
# - name: Build | ||
# uses: docker/build-push-action@v6 | ||
|
||
exec_test: | ||
name: Runtime test | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout repo | ||
- name: ⏹️ Cancel previous runs | ||
uses: pierreraffa/[email protected] | ||
- name: ⬇️ Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: 'main' | ||
- run: | | ||
sudo apt update -y | ||
sudo apt install -y build-essential git bc software-properties-common | ||
make small | ||
- name: ⚙️ Environment setup | ||
run: sudo apt update -y && sudo apt install -y build-essential git bc software-properties-common | ||
- name: ✴️ Run small test | ||
run: make small |