colourpicker

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

build.yml (1098B)


      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 update
     20           sudo apt install libxkbcommon-dev xorg-dev
     21       - uses: actions/checkout@v4
     22         with:
     23           submodules: 'true'
     24       - name: Build
     25         run: ./build.sh
     26 
     27   win32:
     28     runs-on: windows-latest
     29     strategy:
     30       fail-fast: false
     31       matrix:
     32         include:
     33           - { sys: ucrt64,  env: ucrt-x86_64,  cc: "gcc" }
     34           - { sys: clang64, env: clang-x86_64, cc: "clang" }
     35     env:
     36       CC: "${{ matrix.cc }}"
     37     defaults:
     38       run:
     39         shell: msys2 {0}
     40     steps:
     41       - uses: msys2/setup-msys2@v2
     42         with:
     43           msystem: ${{matrix.sys}}
     44           update: true
     45           install: git mingw-w64-${{matrix.env}}-${{matrix.cc}}
     46       - uses: actions/checkout@v4
     47         with:
     48           submodules: 'true'
     49       - name: Build
     50         run: ./build.sh