Skip to content

updated workflow file for artifacts #9

updated workflow file for artifacts

updated workflow file for artifacts #9

Workflow file for this run

name: C/C++ CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: build macos libraries
run: ./build.sh macos
- name: upload build artifact
uses: actions/upload-artifact@v4
with:
name: tinyhook-osx-universal
path: |
libtinyhook.a
libtinyhook.dylib
include/tinyhook.h
compression-level: 9
- name: build ios libraries
run: ./build.sh ios
- name: upload build artifact
uses: actions/upload-artifact@v4
with:
name: tinyhook-ios
path: |
libtinyhook.a
libtinyhook.dylib
include/tinyhook.h
compression-level: 9
test:
strategy:
matrix:
include:
- os: macos-13
arch: x86_64
- os: macos-latest
arch: arm64
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: run test
run: make test