QVM: Fix bitrot and add CI. #163
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build targets | |
on: [pull_request] | |
jobs: | |
build: | |
if: github.repository == 'QW-Group/ktx' | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
target: [linux-amd64, linux-i686, linux-armhf, linux-aarch64, windows-x64, windows-x86] | |
include: | |
- target: linux-amd64 | |
os: linux | |
arch: amd64 | |
ext: ".so" | |
- target: linux-i686 | |
os: linux | |
arch: i686 | |
ext: ".so" | |
- target: linux-armhf | |
os: linux | |
arch: armhf | |
ext: ".so" | |
- target: linux-aarch64 | |
os: linux | |
arch: aarch64 | |
ext: ".so" | |
- target: windows-x64 | |
os: windows | |
arch: x64 | |
ext: ".dll" | |
- target: windows-x86 | |
os: windows | |
arch: x86 | |
ext: ".dll" | |
container: | |
image: debian:stable | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Prepare Build Environemnt | |
run: | | |
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 }} |