Skip to content

Update ubuntu.yml

Update ubuntu.yml #3

Workflow file for this run

name: ubuntu_ne
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: make
run: make
- name: install check
run: sudo apt install check
- name: run tests
run: make test
- name: Upload Build Artifact
uses: actions/upload-artifact@v3
with:
name: build-artifacts
path: ./build # Replace ./build with the directory or file to upload
build-android:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: nttld/setup-ndk@v1
with:
ndk-version: r21e
- name: make
run: make cross-android
- name: Upload Android Build Artifact
uses: actions/upload-artifact@v3
with:
name: android-build-artifacts
path: ./build/android # Replace ./build/android with the directory or file to upload