mirror of
https://github.com/bloeys/nmage.git
synced 2025-12-29 13:28:20 +00:00
Github action
This commit is contained in:
19
.github/workflows/run-nmage.yml
vendored
Executable file
19
.github/workflows/run-nmage.yml
vendored
Executable file
@ -0,0 +1,19 @@
|
|||||||
|
name: Run-nMage
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
Run-nmage-macos:
|
||||||
|
runs-on: macos-10.15
|
||||||
|
steps:
|
||||||
|
- name: Install golang 1.17
|
||||||
|
uses: actions/setup-go@v2
|
||||||
|
with:
|
||||||
|
go-version: '^1.17'
|
||||||
|
- name: Get dylib
|
||||||
|
run: sudo mkdir -p /usr/local/lib && sudo wget https://github.com/bloeys/assimp-go/releases/download/v0.4.2/libassimp_darwin_amd64.dylib -O /usr/local/lib/libassimp.5.dylib
|
||||||
|
- name: Clone nmage
|
||||||
|
run: git clone https://github.com/bloeys/nmage
|
||||||
|
- name: Run nmage
|
||||||
|
working-directory: nmage
|
||||||
|
run: go run .
|
||||||
Reference in New Issue
Block a user