colourpicker

Simple Colour Picker written in C
git clone anongit@rnpnr.xyz:colourpicker.git
Log | Files | Refs | Feed | Submodules | README | LICENSE

Commit: b6ea33ae2b79f2516877ef74ea7bafd85f0b36ee
Parent: 24c7a7db15387ff236b7a7b3a2da18e7156869f0
Author: Randy Palamar
Date:   Wed, 31 Jul 2024 11:41:32 -0600

add github ci

Diffstat:
A.github/workflows/build.yml | 47+++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+), 0 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml @@ -0,0 +1,47 @@ +name: build + +on: [push, pull_request] + +jobs: + linux: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + cc: + - "gcc" + - "clang" + env: + CC: "${{ matrix.cc }}" + steps: + - uses: actions/checkout@v4 + - name: Install dependencies + run: | + sudo apt-get install libxkbcommon-dev xorg-dev libwayland-dev ninja-build + - name: Build + run: ./build.sh + + win32: + runs-on: windows-latest + strategy: + fail-fast: false + matrix: + include: + - { sys: ucrt64, env: ucrt-x86_64, cc: "gcc" } + - { sys: clang64, env: clang-x86_64, cc: "clang" } + env: + CC: "${{ matrix.cc }}" + defaults: + run: + shell: msys2 {0} + steps: + - uses: actions/checkout@v4 + - uses: msys2/setup-msys2@v2 + with: + msystem: ${{matrix.sys}} + update: true + install: git mingw-w64-${{matrix.env}}-${{matrix.cc}} + pacboy: ninja:p cmake:p + + - name: Build + run: ./build.sh