Skip to content

Commit

Permalink
Fix labels; Checkout correct version
Browse files Browse the repository at this point in the history
  • Loading branch information
OoLunar committed May 3, 2024
1 parent 404704f commit 1956bd8
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/opus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
matrix:
config:
- {
name: "Android ARM64",
name: "Android Arm64",
os: ubuntu-latest,
install-deps: "sudo apt-get update && sudo apt-get -y install autoconf automake libtool gcc cmake make",
args: "-DCMAKE_TOOLCHAIN_FILE=${ANDROID_HOME}/ndk/25.2.9519653/build/cmake/android.toolchain.cmake -DANDROID_ABI=arm64-v8a",
Expand All @@ -31,7 +31,7 @@ jobs:
rid: "android-arm64",
}
- {
name: "Linux",
name: "Linux x64 (glibc)",
os: ubuntu-latest,
install-deps: "sudo apt-get update && sudo apt-get -y install autoconf automake libtool gcc cmake make",
args: "",
Expand All @@ -40,7 +40,7 @@ jobs:
rid: "linux-x64"
}
- {
name: "MacOS",
name: "MacOS x64",
os: macos-latest,
install-deps: "brew install autoconf automake libtool gcc cmake make && export PATH=\"/usr/local/opt/make/libexec/gnubin:$PATH\"",
args: "",
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
arch: "x64"
}
- {
name: "Windows ARM64",
name: "Windows Arm64",
os: windows-latest,
install-deps: "",
args: "-G \"Visual Studio 17 2022\" -A ARM64",
Expand Down Expand Up @@ -113,7 +113,8 @@ jobs:
run: |
git clone https://gitlab.xiph.org/xiph/opus libs/opus
cd libs/opus
echo "OPUS_VERSION=$(git describe --tags $(git rev-list --tags --max-count=1))" >> $GITHUB_ENV
OPUS_VERSION=$(git describe --tags $(git rev-list --tags --max-count=1))
echo "OPUS_VERSION=$OPUS_VERSION" >> $GITHUB_ENV
git checkout $OPUS_VERSION
cmake -S . -B build ${{ matrix.config.args }} -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release -Wno-dev
cmake --build build --config Release
Expand Down

0 comments on commit 1956bd8

Please sign in to comment.