-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refresh the build to actually work again.
- Loading branch information
Showing
1 changed file
with
26 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -89,35 +89,40 @@ jobs: | |
python3.9 -m ensurepip --altinstall | ||
python3.10 -m ensurepip --altinstall | ||
- name: Clone Corrade | ||
uses: actions/checkout@v3 | ||
# checkout v4 uses Node 20 which doesn't work on Ubuntu 18.04 | ||
uses: actions/[email protected] | ||
with: | ||
repository: mosra/corrade | ||
path: corrade | ||
# Needed for tags :( | ||
fetch-depth: 0 | ||
- name: Clone Magnum | ||
uses: actions/checkout@v3 | ||
# checkout v4 uses Node 20 which doesn't work on Ubuntu 18.04 | ||
uses: actions/[email protected] | ||
with: | ||
repository: mosra/magnum | ||
path: magnum | ||
# Needed for tags :( | ||
fetch-depth: 0 | ||
- name: Clone Magnum Plugins | ||
uses: actions/checkout@v3 | ||
# checkout v4 uses Node 20 which doesn't work on Ubuntu 18.04 | ||
uses: actions/[email protected] | ||
with: | ||
repository: mosra/magnum-plugins | ||
path: magnum-plugins | ||
# Needed for tags :( | ||
fetch-depth: 0 | ||
- name: Clone Magnum Extras | ||
uses: actions/checkout@v3 | ||
# checkout v4 uses Node 20 which doesn't work on Ubuntu 18.04 | ||
uses: actions/[email protected] | ||
with: | ||
repository: mosra/magnum-extras | ||
path: magnum-extras | ||
# Needed for tags :( | ||
fetch-depth: 0 | ||
- name: Clone Magnum Bindings | ||
uses: actions/checkout@v3 | ||
# checkout v4 uses Node 20 which doesn't work on Ubuntu 18.04 | ||
uses: actions/[email protected] | ||
with: | ||
repository: mosra/magnum-bindings | ||
path: magnum-bindings | ||
|
@@ -476,7 +481,8 @@ jobs: | |
mv install magnum-tools-${{ env.CORRADE_VERSION }}-${{ env.MAGNUM_VERSION }}-${{ env.MAGNUM_PLUGINS_VERSION }}-${{ env.MAGNUM_EXTRAS_VERSION }}-${{ env.MAGNUM_BINDINGS_VERSION }}-linux-x64 | ||
tar -cf magnum-tools-${{ env.CORRADE_VERSION }}-${{ env.MAGNUM_VERSION }}-${{ env.MAGNUM_PLUGINS_VERSION }}-${{ env.MAGNUM_EXTRAS_VERSION }}-${{ env.MAGNUM_BINDINGS_VERSION }}-linux-x64.tar magnum-tools-${{ env.CORRADE_VERSION }}-${{ env.MAGNUM_VERSION }}-${{ env.MAGNUM_PLUGINS_VERSION }}-${{ env.MAGNUM_EXTRAS_VERSION }}-${{ env.MAGNUM_BINDINGS_VERSION }}-linux-x64 | ||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v3 | ||
# upload-artifact v4 uses Node 20 which doesn't work on Ubuntu 18.04 | ||
uses: actions/[email protected] | ||
with: | ||
name: magnum-tools-${{ env.CORRADE_VERSION }}-${{ env.MAGNUM_VERSION }}-${{ env.MAGNUM_PLUGINS_VERSION }}-${{ env.MAGNUM_EXTRAS_VERSION }}-${{ env.MAGNUM_BINDINGS_VERSION }}-linux-x64 | ||
path: magnum-tools-${{ env.CORRADE_VERSION }}-${{ env.MAGNUM_VERSION }}-${{ env.MAGNUM_PLUGINS_VERSION }}-${{ env.MAGNUM_EXTRAS_VERSION }}-${{ env.MAGNUM_BINDINGS_VERSION }}-linux-x64.tar | ||
|
@@ -487,29 +493,29 @@ jobs: | |
strategy: | ||
matrix: | ||
include: | ||
- os: macos11-x64-arm64 | ||
runs-on: macos-11 | ||
- os: macos12-x64-arm64 | ||
runs-on: macos-12 | ||
steps: | ||
- name: Install base build tools | ||
run: | | ||
brew install ninja | ||
mkdir -p deps | ||
- name: Clone Corrade | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4.1.7 | ||
with: | ||
repository: mosra/corrade | ||
path: corrade | ||
# Needed for tags :( | ||
fetch-depth: 0 | ||
- name: Clone Magnum | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4.1.7 | ||
with: | ||
repository: mosra/magnum | ||
path: magnum | ||
# Needed for tags :( | ||
fetch-depth: 0 | ||
- name: Clone Magnum Plugins | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4.1.7 | ||
with: | ||
repository: mosra/magnum-plugins | ||
path: magnum-plugins | ||
|
@@ -681,7 +687,7 @@ jobs: | |
mv install magnum-tools-${{ env.CORRADE_VERSION }}-${{ env.MAGNUM_VERSION }}-${{ env.MAGNUM_PLUGINS_VERSION }}-${{ matrix.os }} | ||
tar -cf magnum-tools-${{ env.CORRADE_VERSION }}-${{ env.MAGNUM_VERSION }}-${{ env.MAGNUM_PLUGINS_VERSION }}-${{ matrix.os }}.tar magnum-tools-${{ env.CORRADE_VERSION }}-${{ env.MAGNUM_VERSION }}-${{ env.MAGNUM_PLUGINS_VERSION }}-${{ matrix.os }} | ||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4.3.3 | ||
# TODO add extras + bindings version once built | ||
with: | ||
name: magnum-tools-${{ env.CORRADE_VERSION }}-${{ env.MAGNUM_VERSION }}-${{ env.MAGNUM_PLUGINS_VERSION }}-${{ matrix.os }} | ||
|
@@ -699,39 +705,39 @@ jobs: | |
run: | | ||
mkdir deps | ||
- name: Install Ninja | ||
uses: seanmiddleditch/gha-setup-ninja@v3 | ||
uses: seanmiddleditch/gha-setup-ninja@v5 | ||
- name: Set up Visual Studio environment | ||
uses: seanmiddleditch/gha-setup-vsdevenv@v3 | ||
uses: compnerd/gha-setup-vsdevenv@v6 | ||
- name: Clone Corrade | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4.1.7 | ||
with: | ||
repository: mosra/corrade | ||
path: corrade | ||
# Needed for tags :( | ||
fetch-depth: 0 | ||
- name: Clone Magnum | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4.1.7 | ||
with: | ||
repository: mosra/magnum | ||
path: magnum | ||
# Needed for tags :( | ||
fetch-depth: 0 | ||
- name: Clone Magnum Plugins | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4.1.7 | ||
with: | ||
repository: mosra/magnum-plugins | ||
path: magnum-plugins | ||
# Needed for tags :( | ||
fetch-depth: 0 | ||
- name: Clone Magnum Extras | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4.1.7 | ||
with: | ||
repository: mosra/magnum-extras | ||
path: magnum-extras | ||
# Needed for tags :( | ||
fetch-depth: 0 | ||
- name: Clone Magnum Bindings | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4.1.7 | ||
with: | ||
repository: mosra/magnum-bindings | ||
path: magnum-bindings | ||
|
@@ -1021,7 +1027,7 @@ jobs: | |
VERSION=$(git describe --match "v*" --abbrev=4) | ||
echo "MAGNUM_BINDINGS_VERSION=${VERSION:9}" >> $GITHUB_ENV | ||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4.3.3 | ||
with: | ||
name: magnum-tools-${{ env.CORRADE_VERSION }}-${{ env.MAGNUM_VERSION }}-${{ env.MAGNUM_PLUGINS_VERSION }}-${{ env.MAGNUM_EXTRAS_VERSION }}-${{ env.MAGNUM_BINDINGS_VERSION }}-windows | ||
path: install |