mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-28 00:20:47 +01:00
tweak workflows yet again
This commit is contained in:
parent
443533df05
commit
d6c9c40ccd
9
.github/workflows/cmake-lx.yml
vendored
9
.github/workflows/cmake-lx.yml
vendored
@ -10,10 +10,6 @@ env:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
# The CMake configure and build commands are platform agnostic and should work equally
|
||||
# well on Windows or Mac. You can convert this to a matrix build if you need
|
||||
# cross-platform coverage.
|
||||
# See: https://docs.github.com/en/actions/configuring-and-managing-workflows/configuring-a-workflow#configuring-a-build-matrix
|
||||
name: CMake, Ubuntu
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
@ -131,15 +127,14 @@ jobs:
|
||||
# uploads current assets to vgmstream-releases (token only works on merges)
|
||||
- name: Upload artifacts to nightly
|
||||
if: github.event_name != 'pull_request'
|
||||
working-directory: ${{runner.workspace}}
|
||||
shell: bash
|
||||
env:
|
||||
UPLOADER_GITHUB_TOKEN: ${{ secrets.UPLOADER_GITHUB_TOKEN }}
|
||||
# tar cvfz vgmstream-linux-123.tar.gz -C ./build/cli vgmstream123
|
||||
# tar cvfz vgmstream-linux-audacious.tar.gz -C ./build/audacious vgmstream.so
|
||||
run: |
|
||||
tar cvfz vgmstream-linux-cli.tar.gz -C ./build/cli vgmstream-cli
|
||||
python .github/uploader.py vgmstream-linux-cli.tar.gz
|
||||
tar cvfz ${{runner.workspace}}/vgmstream-linux-cli.tar.gz -C ${{runner.workspace}}/build/cli vgmstream-cli
|
||||
python ${{github.workspace}}/.github/uploader.py ${{runner.workspace}}/vgmstream-linux-cli.tar.gz
|
||||
|
||||
|
||||
#- name: Upload artifacts to S3
|
||||
|
7
.github/workflows/cmake-mac.yml
vendored
7
.github/workflows/cmake-mac.yml
vendored
@ -1,6 +1,8 @@
|
||||
# github workflow to automate builds
|
||||
|
||||
name: macOS build
|
||||
|
||||
on: [push, pull_request]
|
||||
on: [push, pull_request, workflow_dispatch]
|
||||
|
||||
env:
|
||||
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
|
||||
@ -10,6 +12,7 @@ jobs:
|
||||
build:
|
||||
name: CMake, macOS
|
||||
runs-on: macos-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
@ -63,4 +66,4 @@ jobs:
|
||||
# tar cvfz vgmstream-linux-audacious.tar.gz -C ./build/audacious vgmstream.so
|
||||
run: |
|
||||
tar cvfz vgmstream-mac-cli.tar.gz -C ./build/cli vgmstream-cli
|
||||
python .github/uploader.py vgmstream-mac-cli.tar.gz
|
||||
python3 .github/uploader.py vgmstream-mac-cli.tar.gz
|
||||
|
Loading…
Reference in New Issue
Block a user