Skip to content

Commit

Permalink
Merge pull request #12 from Nutcake/improve-build-compat
Browse files Browse the repository at this point in the history
Improve Linux build backwards compatibility
  • Loading branch information
ProbablePrime authored Jan 25, 2024
2 parents fba7f70 + ae64d41 commit 7e664a3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,14 @@ on:
jobs:
buildLinux:
runs-on: ubuntu-latest
container: debian:buster # Using debian buster environment for glibc backwards compatibility, see https://github.com/Yellow-Dog-Man/FreeImage/pull/12
steps:
- uses: actions/checkout@v4
- name: Build Native Linux
run: make all
run: |
apt update
apt install -y make gcc g++ unzip
make all
- uses: actions/upload-artifact@v4
with:
path: Dist/
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,16 @@ on:
jobs:
buildLinux:
runs-on: ubuntu-latest
container: debian:buster # Using debian buster environment for glibc backwards compatibility, see https://github.com/Yellow-Dog-Man/FreeImage/pull/12
env:
VERSION: ${{ github.event.release.tag_name }}
steps:
- uses: actions/checkout@v4
- name: Build Native Linux
run: make all
run: |
apt update
apt install -y make gcc g++ unzip
make all
- uses: actions/upload-artifact@v4
with:
path: Dist/
Expand Down

0 comments on commit 7e664a3

Please sign in to comment.