Browse Source

hacks everywhere

Signed-off-by: falkTX <falktx@falktx.com>
master
falkTX 7 months ago
parent
commit
d8422add76
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 19 additions and 4 deletions
  1. +19
    -4
      .github/workflows/build.yml

+ 19
- 4
.github/workflows/build.yml View File

@@ -18,6 +18,11 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Fix GitHub's mess
run: |
sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
sudo apt-get update -qq
sudo apt-get install -yqq --allow-downgrades libpcre2-8-0/focal
- name: Set up dependencies
run: |
sudo dpkg --add-architecture arm64
@@ -50,6 +55,11 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Fix GitHub's mess
run: |
sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
sudo apt-get update -qq
sudo apt-get install -yqq --allow-downgrades libpcre2-8-0/focal
- name: Set up dependencies
run: |
sudo dpkg --add-architecture armhf
@@ -76,18 +86,23 @@ jobs:
path: |
bin/*

linux-x86:
linux-i686:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Fix GitHub's mess
run: |
sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
sudo apt-get update -qq
sudo apt-get install -yqq --allow-downgrades libpcre2-8-0/focal
- name: Set up dependencies
run: |
sudo dpkg --add-architecture i386
sudo apt-get update -qq
sudo apt-get install -yqq g++-multilib libasound2-dev:i386 libcairo2-dev:i386 libdbus-1-dev:i386 libgl1-mesa-dev:i386 liblo-dev:i386 libpulse-dev:i386 libx11-dev:i386 libxcursor-dev:i386 libxext-dev:i386 libxrandr-dev:i386
- name: Build linux x86
- name: Build linux i686
env:
CFLAGS: -m32
CXXFLAGS: -m32
@@ -101,7 +116,7 @@ jobs:
run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)"
- uses: actions/upload-artifact@v2
with:
name: ${{ github.event.repository.name }}-linux-x86-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}
name: ${{ github.event.repository.name }}-linux-i686-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}
path: |
bin/*

@@ -170,7 +185,7 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Fix GitHub mess
- name: Fix GitHub's mess
run: |
sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
sudo apt-get update -qq


Loading…
Cancel
Save