Skip to content

Commit

Permalink
initial gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
MrCyjaneK committed May 21, 2024
1 parent 1ef940f commit 696fe61
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/compat.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: compatibility check
on: [push, pull_request]
jobs:
mingw:
runs-on: ubuntu-latest
container:
image: debian:bookworm
steps:
- name: Install dependencies
run: |
apt update
apt install -y build-essential pkg-config autoconf libtool ccache make cmake gcc g++ git curl lbzip2 gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 gcc-mingw-w64-i686 g++-mingw-w64-i686
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- name: Patch sources
run: |
git config --global --add safe.directory '*'
git config --global user.email "[email protected]"
git config --global user.name "CI mrcyjanek.net"
./apply_patches.sh monero
./apply_patches.sh wownero
- name: monero/x86_64-w64-mingw32
run: ./build_single.sh monero x86_64-w64-mingw32 -j$(nproc)
- name: wownero/x86_64-w64-mingw32
run: ./build_single.sh wownero x86_64-w64-mingw32 -j$(nproc)
- name: monero/i686-w64-mingw32
run: ./build_single.sh monero i686-w64-mingw32 -j$(nproc)
- name: wownero/i686-w64-mingw32
run: ./build_single.sh wownero i686-w64-mingw32 -j$(nproc)

0 comments on commit 696fe61

Please sign in to comment.