kopia lustrzana https://github.com/jameshball/osci-render
73 wiersze
1.9 KiB
YAML
73 wiersze
1.9 KiB
YAML
|
name: Build
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- release
|
||
|
jobs:
|
||
|
build-linux:
|
||
|
name: Build Linux
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- name: Fix up git URLs
|
||
|
run: echo -e '[url "https://github.com/"]\n insteadOf = "git@github.com:"' >> ~/.gitconfig
|
||
|
shell: bash
|
||
|
- uses: actions/checkout@v1
|
||
|
with:
|
||
|
token: ${{ secrets.ACCESS_TOKEN }}
|
||
|
submodules: true
|
||
|
- name: "Run script"
|
||
|
run: |
|
||
|
export OS="linux"
|
||
|
./ci/build.sh
|
||
|
shell: bash
|
||
|
- name: Upload Artifact
|
||
|
uses: actions/upload-artifact@v3
|
||
|
with:
|
||
|
name: Binaries
|
||
|
path: bin
|
||
|
retention-days: 1
|
||
|
build-macos:
|
||
|
name: Build macOS
|
||
|
runs-on: macos-latest
|
||
|
steps:
|
||
|
- name: Fix up git URLs
|
||
|
run: echo -e '[url "https://github.com/"]\n insteadOf = "git@github.com:"' >> ~/.gitconfig
|
||
|
shell: bash
|
||
|
- uses: actions/checkout@v1
|
||
|
with:
|
||
|
token: ${{ secrets.ACCESS_TOKEN }}
|
||
|
submodules: true
|
||
|
- name: "Run script"
|
||
|
run: |
|
||
|
export OS="mac"
|
||
|
./ci/build.sh
|
||
|
shell: bash
|
||
|
- name: Upload Artifact
|
||
|
uses: actions/upload-artifact@v3
|
||
|
with:
|
||
|
name: Binaries
|
||
|
path: bin
|
||
|
retention-days: 1
|
||
|
build-windows:
|
||
|
name: Build Windows
|
||
|
runs-on: windows-latest
|
||
|
steps:
|
||
|
- name: Fix up git URLs
|
||
|
run: echo -e '[url "https://github.com/"]\n insteadOf = "git@github.com:"' >> ~/.gitconfig
|
||
|
shell: bash
|
||
|
- uses: actions/checkout@v1
|
||
|
with:
|
||
|
token: ${{ secrets.ACCESS_TOKEN }}
|
||
|
submodules: true
|
||
|
- name: "Run script"
|
||
|
run: |
|
||
|
export OS="win"
|
||
|
./ci/build.sh
|
||
|
shell: bash
|
||
|
- name: Upload Artifact
|
||
|
uses: actions/upload-artifact@v3
|
||
|
with:
|
||
|
name: Binaries
|
||
|
path: bin
|
||
|
retention-days: 1
|