Skip to content

Commit

Permalink
PIPELINE: use debian stable container for builds
Browse files Browse the repository at this point in the history
  • Loading branch information
ciscon committed May 29, 2024
1 parent cfb7dc6 commit ec3c0e9
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 14 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build-and-deploy-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,17 @@ jobs:
os: windows
arch: x86
ext: ".dll"
container:
image: debian:stable
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Prepare Build Environemnt
run: |
sudo apt-get update
sudo apt-get -y install build-essential cmake gcc-i686-linux-gnu
sudo apt-get -y install gcc-arm-linux-gnueabihf libc6-dev-armhf-cross gcc-aarch64-linux-gnu libc6-dev-arm64-cross
sudo apt-get -y install gcc-mingw-w64-x86-64 gcc-mingw-w64-i686
apt-get update
apt-get -y install build-essential cmake gcc-i686-linux-gnu
apt-get -y install gcc-arm-linux-gnueabihf libc6-dev-armhf-cross gcc-aarch64-linux-gnu libc6-dev-arm64-cross
apt-get -y install gcc-mingw-w64-x86-64 gcc-mingw-w64-i686
- name: Build
run: |
./build_cmake.sh ${{ matrix.target }}
Expand All @@ -58,7 +60,7 @@ jobs:
ssh-add - <<< "${{ secrets.SSH_PRIVATE_KEY }}"
- name: Set date
run: |
sudo timedatectl set-timezone Europe/Amsterdam
timedatectl set-timezone Europe/Amsterdam
echo "DATE=$(date "+%Y%m%d-%H%M%S")" >> $GITHUB_ENV
- name: Deploy
env:
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/build-and-deploy-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,17 @@ jobs:
os: windows
arch: x86
ext: ".dll"
container:
image: debian:stable
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Prepare Build Environemnt
run: |
sudo apt-get update
sudo apt-get -y install build-essential cmake gcc-i686-linux-gnu
sudo apt-get -y install gcc-arm-linux-gnueabihf libc6-dev-armhf-cross gcc-aarch64-linux-gnu libc6-dev-arm64-cross
sudo apt-get -y install gcc-mingw-w64-x86-64 gcc-mingw-w64-i686
apt-get update
apt-get -y install build-essential cmake gcc-i686-linux-gnu
apt-get -y install gcc-arm-linux-gnueabihf libc6-dev-armhf-cross gcc-aarch64-linux-gnu libc6-dev-arm64-cross
apt-get -y install gcc-mingw-w64-x86-64 gcc-mingw-w64-i686
- name: Build
run: |
./build_cmake.sh ${{ matrix.target }}
Expand All @@ -56,7 +58,7 @@ jobs:
ssh-add - <<< "${{ secrets.SSH_PRIVATE_KEY }}"
- name: Set date
run: |
sudo timedatectl set-timezone Europe/Amsterdam
timedatectl set-timezone Europe/Amsterdam
echo "DATE=$(date "+%Y%m%d-%H%M%S")" >> $GITHUB_ENV
- name: Deploy
env:
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/build-targets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,17 @@ jobs:
os: windows
arch: x86
ext: ".dll"
container:
image: debian:stable
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Prepare Build Environemnt
run: |
sudo apt-get update
sudo apt-get -y install build-essential cmake gcc-i686-linux-gnu
sudo apt-get -y install gcc-arm-linux-gnueabihf libc6-dev-armhf-cross gcc-aarch64-linux-gnu libc6-dev-arm64-cross
sudo apt-get -y install gcc-mingw-w64-x86-64 gcc-mingw-w64-i686
apt-get update
apt-get -y install build-essential cmake gcc-i686-linux-gnu
apt-get -y install gcc-arm-linux-gnueabihf libc6-dev-armhf-cross gcc-aarch64-linux-gnu libc6-dev-arm64-cross
apt-get -y install gcc-mingw-w64-x86-64 gcc-mingw-w64-i686
- name: Build
run: |
./build_cmake.sh ${{ matrix.target }}

0 comments on commit ec3c0e9

Please sign in to comment.