add actions for Windows and Mac
parent
e3f9862f4b
commit
9bdf2ae662
|
@ -0,0 +1,29 @@
|
|||
name: Build for Mac
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
container:
|
||||
image: docker://justdan96/tsmuxer_build:latest
|
||||
volumes:
|
||||
- /workspace:/github/workspace
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
name: checkout
|
||||
|
||||
- run: rm -f bin/.gitkeep
|
||||
name: clean-bin-folder
|
||||
|
||||
- run: ./rebuild_osxcross_docker.sh
|
||||
name: build-for-mac
|
||||
|
||||
- uses: actions/upload-artifact@master
|
||||
with:
|
||||
name: tsMuxer
|
||||
path: bin
|
||||
name: upload-artefact
|
|
@ -0,0 +1,29 @@
|
|||
name: Build for Windows
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
container:
|
||||
image: docker://justdan96/tsmuxer_build:latest
|
||||
volumes:
|
||||
- /workspace:/github/workspace
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
name: checkout
|
||||
|
||||
- run: rm -f bin/.gitkeep
|
||||
name: clean-bin-folder
|
||||
|
||||
- run: ./rebuild_mxe_docker.sh
|
||||
name: build-for-windows
|
||||
|
||||
- uses: actions/upload-artifact@master
|
||||
with:
|
||||
name: tsMuxer
|
||||
path: bin
|
||||
name: upload-artefact
|
Loading…
Reference in New Issue