mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-29 17:11:00 +00:00
added libraries: opus flac libsndfile updated: libvorbis libogg openal - Everything works as expected for now. Bare in mind libsndfile needed the check for whether or not it could find the xiph libraries removed in order for this to work.
51 lines
1.1 KiB
YAML
51 lines
1.1 KiB
YAML
name: GitHub Actions for specific options
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
matrix:
|
|
include:
|
|
- name: 32-bit-words
|
|
cppflags: ''
|
|
configure-opts: --disable-64-bit-words
|
|
|
|
- name: integer-only-library
|
|
cppflags: '-DFLAC__INTEGER_ONLY_LIBRARY'
|
|
configure-opts: ''
|
|
|
|
- name: no-asm
|
|
cppflags: ''
|
|
configure-opts: --disable-asm-optimizations
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y libtool-bin libogg-dev
|
|
|
|
- name: Build and run tests
|
|
env:
|
|
CPPFLAGS: ${{ matrix.cppflags }}
|
|
run: |
|
|
./autogen.sh
|
|
./configure --disable-thorough-tests ${{ matrix.configure-opts }}
|
|
make
|
|
make check
|
|
|
|
- name: Upload logs on failure
|
|
uses: actions/upload-artifact@v2
|
|
if: failure()
|
|
with:
|
|
name: flac-${{ github.sha }}-${{ github.run_id }}-logs
|
|
path: |
|
|
./**/*.log
|
|
./**/out*.meta
|