kopia lustrzana https://github.com/jameshball/osci-render
Move jobs into single workflow, and follow redirects when downloading JUCE
rodzic
0b27d08cbb
commit
b5d4ba0ad5
|
@ -0,0 +1,72 @@
|
||||||
|
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
|
|
@ -1,28 +0,0 @@
|
||||||
name: Build Linux
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- release
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
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
|
|
|
@ -1,28 +0,0 @@
|
||||||
name: Build macOS
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- release
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
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
|
|
|
@ -1,28 +0,0 @@
|
||||||
name: Build Windows
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- release
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
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
|
|
|
@ -30,7 +30,7 @@ elif [ "$OS" = "mac" ]; then
|
||||||
PROJUCER_OS="osx"
|
PROJUCER_OS="osx"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
curl -s -S "https://api.juce.com/api/v1/download/juce/latest/$PROJUCER_OS" -o Projucer.zip
|
curl -s -S -L "https://api.juce.com/api/v1/download/juce/latest/$PROJUCER_OS" -o Projucer.zip
|
||||||
unzip Projucer.zip
|
unzip Projucer.zip
|
||||||
|
|
||||||
# Resave jucer file
|
# Resave jucer file
|
||||||
|
|
Ładowanie…
Reference in New Issue