Skip to content

Commit

Permalink
Pipelinen fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Dextinfire committed Sep 8, 2024
1 parent cefec92 commit 35c59fa
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
job-matrix:
name: ${{ matrix.os }}-${{ github.workflow }}
name: ${{ matrix.os_name }}-${{ github.workflow }}
runs-on: ${{ matrix.os }}
timeout-minutes: 120
outputs:
Expand Down Expand Up @@ -44,41 +44,40 @@ jobs:
path: ${{ env.Build.Repository.LocalPath }}/vendor/LibAtrac9

- uses: lukka/get-cmake@latest
- name: Dump the content of $RUNNER_TEMP
run: find $RUNNER_TEMP
shell: bash
- name: Dump the content of $RUNNER_WORKSPACE
run: find $RUNNER_WORKSPACE
shell: bash
- name: Setup vcpkg
uses: lukka/run-vcpkg@v11
id: runvcpkg
with:
vcpkgDirectory: '${{ runner.workspace }}/build/vcpkg'
vcpkgGitCommitId: '${{ env.vcpkgCommitId}}'
vcpkgGitCommitId: '${{ env.vcpkgCommitId }}'
vcpkgJsonGlob: '**/vcpkg.json'
- name: Prints output of run-vcpkg's action
run: echo "root='${{ steps.runvcpkg.outputs.RUNVCPKG_VCPKG_ROOT_OUT }}', triplet='${{ steps.runvcpkg.outputs.RUNVCPKG_VCPKG_DEFAULT_TRIPLET_OUT }}'"
run: echo "root='${{ steps.runvcpkg.outputs.RUNVCPKG_VCPKG_ROOT_OUT }}', triplet='${{ env.VCPKG_DEFAULT_TRIPLET }}'"
- name: Build Atrac9 Windows
if: matrix.os == 'windows-latest'
run: |
$ErrorActionPreference = 'silentlyContinue'
build-deps.ps1 -Arg1 x64 -Arg2 $false
if ((Test-Path -LiteralPath variable:\LASTEXITCODE)) { exit $LASTEXITCODE }
shell: powershell -Command "& '{0}'"
- name: Build Atrac9
- name: Setup Dependencies Linux/MacOS
if: matrix.os =='macos-latest' || matrix.os == 'ubuntu-latest'
run: |-
pushd vendor
git clone https://github.com/Thealexbarney/LibAtrac9.git --depth 1
cd LibAtrac9/C && make
cd LibAtrac9/C
if [ "${{ matrix.os_name }}" == 'macos' ]; then
sed -i 's/,--version-script=libatrac9.version//g' Makefile
fi
make
mkdir -p ../include/libatrac9
mkdir -p ../libs
cp bin/libatrac9.a ../libs/
cp src/libatrac9.h ../include/libatrac9/
popd
# echo "LIBATRAC9DIR=vendor/LibAtrac9" >> $GITHUB_ENV

- run: sudo apt-get install nasm
if: matrix.os == 'ubuntu-latest'
- name: Run CMake with vcpkg.json manifest
uses: lukka/run-cmake@v10
with:
Expand Down

0 comments on commit 35c59fa

Please sign in to comment.