-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Download Libs - [2.5.0~ 2.6.0] Change for release tag default from bleeding to Latest (for apothecary). - Allow to download libs of --tag (or version target for libs i.e v12.1.0, v13.0.0 etc) Allowing locking off of libraries * GitHub Action - Fix Xcode change for install Xcode 16 Nov5th change * GitHub Actions - Nightly update release to softprops/action gh release. Add determine release type. Allow for future night to build for tags (more to do with local scripts for that). (So manually can tag and it will build nighty to say v13.0.0)
- Loading branch information
Showing
4 changed files
with
70 additions
and
27 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 |
---|---|---|
|
@@ -25,12 +25,29 @@ env: | |
jobs: | ||
manual-nightly: | ||
runs-on: ubuntu-24.04 | ||
if: github.repository == 'openframeworks/openFrameworks' && github.ref == 'refs/heads/master' | ||
if: github.repository == 'openframeworks/openframeworks' && github.event_name == 'push' && (startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/bleeding') | ||
strategy: | ||
matrix: | ||
cfg: | ||
- {target: linux64, libs: 64gcc6} | ||
steps: | ||
- name: Determine Release | ||
id: vars | ||
shell: bash | ||
run: | | ||
if [[ "${{ github.ref }}" == refs/tags/* ]]; then | ||
echo "RELEASE=${{ github.ref_name }}" >> $GITHUB_ENV | ||
echo "PRERELEASE=false" >> $GITHUB_ENV | ||
elif [[ "${{ github.ref }}" == "refs/heads/master" ]]; then | ||
echo "RELEASE=nightly" >> $GITHUB_ENV | ||
echo "PRERELEASE=false" >> $GITHUB_ENV | ||
elif [[ "${{ github.ref }}" == "refs/heads/bleeding" ]]; then | ||
echo "RELEASE=latest" >> $GITHUB_ENV | ||
echo "PRERELEASE=true" >> $GITHUB_ENV | ||
else | ||
echo "RELEASE=latest" >> $GITHUB_ENV | ||
echo "PRERELEASE=true" >> $GITHUB_ENV | ||
fi | ||
- name: Install libunwind | ||
run: sudo apt-get install libunwind-dev | ||
- name: Cache Packages | ||
|
@@ -65,13 +82,10 @@ jobs: | |
# name: openFrameworks-all-artefact-${{ env.TARGET }}-${{ matrix.bundle }} | ||
# path: out/manual-mega_artefact.tar.bz2 | ||
# retention-days: 1 | ||
- name: Update Release | ||
uses: IsaacShelton/[email protected] | ||
if: github.repository == 'openframeworks/openFrameworks' && github.ref == 'refs/heads/master' | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
tag: ${{ github.event.inputs.release }} | ||
release: ${{ github.event.inputs.release }} | ||
prerelease: false | ||
replace: true | ||
files: ${{ steps.createpackage.outputs.FILES_OUT }} | ||
- name: Update Release arm64 | ||
if: github.repository == 'openframeworks/openframeworks' && github.event_name == 'push' && (startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/bleeding') | ||
uses: softprops/[email protected] | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
tag_name: ${{ env.RELEASE }} | ||
files: ${{ steps.createpackage.outputs.FILES_OUT }} |
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 |
---|---|---|
|
@@ -36,14 +36,31 @@ env: | |
jobs: | ||
build-nightly: | ||
runs-on: ubuntu-24.04 | ||
if: github.repository == 'openframeworks/openFrameworks' && github.ref == 'refs/heads/master' | ||
if: github.repository == 'openframeworks/openframeworks' && github.event_name == 'push' && (startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/bleeding') | ||
strategy: | ||
matrix: | ||
cfg: | ||
- {target: linux64, libs: 64gcc6} | ||
env: | ||
TARGET: ${{matrix.cfg.target}} | ||
steps: | ||
- name: Determine Release | ||
id: vars | ||
shell: bash | ||
run: | | ||
if [[ "${{ github.ref }}" == refs/tags/* ]]; then | ||
echo "RELEASE=${{ github.ref_name }}" >> $GITHUB_ENV | ||
echo "PRERELEASE=false" >> $GITHUB_ENV | ||
elif [[ "${{ github.ref }}" == "refs/heads/master" ]]; then | ||
echo "RELEASE=nightly" >> $GITHUB_ENV | ||
echo "PRERELEASE=false" >> $GITHUB_ENV | ||
elif [[ "${{ github.ref }}" == "refs/heads/bleeding" ]]; then | ||
echo "RELEASE=latest" >> $GITHUB_ENV | ||
echo "PRERELEASE=true" >> $GITHUB_ENV | ||
else | ||
echo "RELEASE=latest" >> $GITHUB_ENV | ||
echo "PRERELEASE=true" >> $GITHUB_ENV | ||
fi | ||
- name: Install libunwind | ||
run: sudo apt-get install libunwind-dev | ||
- name: Cache Packages | ||
|
@@ -69,12 +86,10 @@ jobs: | |
id: createpackage | ||
- name: List output directory | ||
run: ls -lah out/ | ||
- name: Update Release | ||
uses: IsaacShelton/[email protected] | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
tag: nightly | ||
release: nightly | ||
prerelease: false | ||
replace: true | ||
files: ${{ steps.createpackage.outputs.FILES_OUT }} | ||
- name: Update Release arm64 | ||
if: github.repository == 'openframeworks/openframeworks' && github.event_name == 'push' && (startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/bleeding') | ||
uses: softprops/[email protected] | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
tag_name: ${{ env.RELEASE }} | ||
files: ${{ steps.createpackage.outputs.FILES_OUT }} |
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
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