Skip to content

Commit

Permalink
Add Linux x86_64 workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
yuki0iq committed Mar 26, 2024
1 parent 72def98 commit c2ec0ca
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Linux x86_64

on:
push:
paths-ignore:
- '**.md'
- 'LICENSE'
- '.github/**'
- '!.github/workflows/linux.yml'
pull_request:
paths-ignore:
- '**.md'
- 'LICENSE'
- '.github/**'
- '!.github/workflows/linux.yml'

jobs:

linux:
runs-on: ubuntu-latest

steps:
- name: Clone.
uses: actions/[email protected]
with:
submodules: recursive
path: ${{ env.REPO_NAME }}

- name: Build.
run: |
cd $REPO_NAME
docker build --tag sunwalker_box .
id="$(docker create sunwalker_box .)"
docker cp sunwalker_box:/sunwalker_box sunwalker_box
- name: Tests.
run: |
cd $REPO_NAME
sudo apt install python3 python3-yaml musl-tools libc6-dev
sudo make test
- uses: actions/upload-artifact@master
name: Upload artifact.
with:
name: ${{ env.ARTIFACT_NAME }}
path: ${{ env.REPO_NAME }}/sunwalker_box

0 comments on commit c2ec0ca

Please sign in to comment.