remove linux builds until i get the time to fix them
This commit is contained in:
parent
8b3710931f
commit
0ee49b13b5
|
|
@ -2,69 +2,6 @@ name: Build
|
|||
on: [ push ]
|
||||
|
||||
jobs:
|
||||
linux:
|
||||
strategy:
|
||||
matrix:
|
||||
configuration: [ Release, Debug ]
|
||||
|
||||
name: Linux
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: Install required packages
|
||||
uses: awalsh128/cache-apt-pkgs-action@latest
|
||||
with:
|
||||
version: 5.0
|
||||
packages: >-
|
||||
build-essential
|
||||
cmake
|
||||
ninja-build
|
||||
libboost-all-dev
|
||||
libogre-1.12-dev
|
||||
libpugixml-dev
|
||||
|
||||
- name: Install Qt
|
||||
uses: jurplel/install-qt-action@v3
|
||||
with:
|
||||
version: 6.*
|
||||
cache: true
|
||||
|
||||
- name: Generate Ninja build files
|
||||
run: cmake -G Ninja -B build -DCI=ON -DCMAKE_BUILD_TYPE=${{ matrix.configuration == 'Release' && 'MinSizeRel' || matrix.configuration }} .
|
||||
|
||||
- name: Run Ninja build
|
||||
run: ninja -C build
|
||||
|
||||
# ouch - unless and until we start using CMake's install command, these next few steps are a necessary evil
|
||||
- name: Organize binaries
|
||||
run: mkdir build/dist && find build -perm /a+x -exec mv {} build/dist \;
|
||||
|
||||
- name: Add RNR resources
|
||||
run: cp -R Content/RNR build/dist/content && cp LICENSE build/dist
|
||||
|
||||
- name: Add OGRE plugins
|
||||
run: cp -R build/plugins build/dist && cp Content/linux_plugins.cfg build/dist/plugins.cfg
|
||||
|
||||
- name: Add OGRE shaders
|
||||
run: cp -R build/shaders build/dist
|
||||
|
||||
- name: Set output variables
|
||||
id: vars
|
||||
run: |
|
||||
echo "configuration=${{ matrix.configuration }}" | awk '{print tolower($0)}' >> $GITHUB_OUTPUT
|
||||
echo "hash=${GITHUB_SHA::7}" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: rnr-${{ steps.vars.outputs.hash }}-linux_x64-${{ steps.vars.outputs.configuration }}
|
||||
path: build/dist
|
||||
|
||||
windows:
|
||||
strategy:
|
||||
matrix:
|
||||
|
|
@ -133,4 +70,4 @@ jobs:
|
|||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: rnr-${{ steps.vars.outputs.hash }}-win_x64-${{ steps.vars.outputs.configuration }}
|
||||
path: build/dist
|
||||
path: build/dist
|
||||
|
|
|
|||
Loading…
Reference in New Issue