Browse Source

Add linux to CI, fix a typo

Signed-off-by: falkTX <falktx@falktx.com>
main
falkTX 3 weeks ago
parent
commit
57f699f49f
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 50 additions and 2 deletions
  1. +49
    -1
      .github/workflows/release.yml
  2. +1
    -1
      PawPaw

+ 49
- 1
.github/workflows/release.yml View File

@@ -12,6 +12,54 @@ env:
HOMEBREW_NO_AUTO_UPDATE: 1

jobs:
# linux native build
linux:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Set up cache
uses: actions/cache@v2
with:
path: |
~/PawPawBuilds/builds
~/PawPawBuilds/debs
~/PawPawBuilds/downloads
~/PawPawBuilds/targets
key: linux
- name: Restore debian packages cache
run: |
if [ -d ~/PawPawBuilds/debs ] && [ "$(ls ~/PawPawBuilds/debs | wc -l)" -ne 0 ]; then \
sudo cp ~/PawPawBuilds/debs/*.deb /var/cache/apt/archives/; \
fi
- name: Set up dependencies
run: |
sudo dpkg --add-architecture i386
sudo apt-get update -qq
sudo apt-get install -yq build-essential curl cmake jq
sudo apt-get install -yq binutils-mingw-w64-i686 g++-mingw-w64-i686 mingw-w64 wine-stable:i386
sudo apt-get install -yq binutils-mingw-w64-x86-64 g++-mingw-w64-x86-64 mingw-w64 wine-stable
sudo apt-get install -yq libasound2-dev libcairo2-dev libfluidsynth-dev libgl1-mesa-dev liblo-dev libmagic-dev libpulse-dev libqt4-dev libsndfile1-dev libx11-dev libxcursor-dev libxext-dev libxrandr-dev pkg-config pyqt5-dev-tools qtbase5-dev
sudo apt-get install -yq g++-multilib libfreetype6:i386 libx11-6:i386 libxext6:i386
# Fix 32bit bridge build
sudo ln -s /usr/lib/i386-linux-gnu/libX11.so.6 /usr/lib/i386-linux-gnu/libX11.so
sudo ln -s /usr/lib/i386-linux-gnu/libXext.so.6 /usr/lib/i386-linux-gnu/libXext.so
sudo ln -s /usr/lib/i386-linux-gnu/libfreetype.so.6 /usr/lib/i386-linux-gnu/libfreetype.so
- name: Cache debian packages
run: |
mkdir -p ~/PawPawBuilds/debs
sudo mv /var/cache/apt/archives/*.deb ~/PawPawBuilds/debs/
- name: Bootstrap linux
shell: bash
run: |
./PawPaw/bootstrap-carla.sh linux && ./PawPaw/.cleanup.sh linux
#- name: Build linux
#env:
#LDFLAGS: -static-libgcc -static-libstdc++
#run: |
#./build.sh linux

# macOS native intel build
macos:
runs-on: macos-10.15
@@ -142,7 +190,7 @@ jobs:
run: |
if [ -d ~/PawPawBuilds/debs ] && [ "$(ls ~/PawPawBuilds/debs | wc -l)" -ne 0 ]; then \
sudo cp ~/PawPawBuilds/debs/*.deb /var/cache/apt/archives/; \
fi6
fi
- name: Set up dependencies
run: |
sudo dpkg --add-architecture i386


+ 1
- 1
PawPaw

@@ -1 +1 @@
Subproject commit 8dd2a7b81f27564bff2464903253803a33de8ad4
Subproject commit cbad3bdd0b1a23e9425751bc58239700abf5a603

Loading…
Cancel
Save