osci-render/.github/workflows/build.yaml

80 wiersze
2.1 KiB
YAML
Czysty Zwykły widok Historia

name: Build
on:
push:
branches:
- release
2024-02-10 12:05:19 +00:00
- 3d-audio
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"
2024-02-10 12:14:43 +00:00
source ./ci/setup-env.sh
2024-02-10 12:05:19 +00:00
./ci/test.sh
./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"
2024-02-10 12:14:43 +00:00
source ./ci/setup-env.sh
2024-02-10 12:05:19 +00:00
./ci/test.sh
./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"
2024-02-10 12:14:43 +00:00
source ./ci/setup-env.sh
2024-02-10 12:05:19 +00:00
./ci/test.sh
./ci/build.sh
shell: bash
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: Binaries
path: bin
retention-days: 1