colourpicker

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

build.yml (1051B)


      1 name: build
      2 
      3 on: [push, pull_request]
      4 
      5 jobs:
      6   linux:
      7     runs-on: ubuntu-latest
      8     strategy:
      9       fail-fast: false
     10       matrix:
     11         cc:
     12           - "gcc"
     13           - "clang"
     14     env:
     15       CC: "${{ matrix.cc }}"
     16     steps:
     17       - name: Install dependencies
     18         run: |
     19           sudo apt-get install libxkbcommon-dev xorg-dev libwayland-dev ninja-build
     20       - uses: actions/checkout@v4
     21       - name: Build
     22         run: ./build.sh
     23 
     24   win32:
     25     runs-on: windows-latest
     26     strategy:
     27       fail-fast: false
     28       matrix:
     29         include:
     30           - { sys: ucrt64,  env: ucrt-x86_64,  cc: "gcc" }
     31           - { sys: clang64, env: clang-x86_64, cc: "clang" }
     32     env:
     33       CC: "${{ matrix.cc }}"
     34     defaults:
     35       run:
     36         shell: msys2 {0}
     37     steps:
     38       - uses: msys2/setup-msys2@v2
     39         with:
     40           msystem: ${{matrix.sys}}
     41           update: true
     42           install: git mingw-w64-${{matrix.env}}-${{matrix.cc}}
     43           pacboy: ninja:p cmake:p
     44       - uses: actions/checkout@v4
     45       - name: Build
     46         run: ./build.sh