name: Feature matrix on: push: branches: - "master" pull_request: branches: - "master" jobs: windows_msvc_x64: runs-on: windows-2019 strategy: fail-fast: false matrix: lua_addon: ["y", "n"] sdcc: ["y", "n"] steps: - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup xmake uses: xmake-io/github-action-setup-xmake@v1 with: xmake-version: '2.8.6' - name: Setup Qt uses: jurplel/install-qt-action@v3 with: version: '5.15.2' host: windows target: desktop arch: win64_msvc2019_64 archives: qtbase qtsvg qttools - name: Build run: | $install_dir = "pkg/redpanda-cpp-${{ matrix.lua_addon }}-${{ matrix.sdcc }}" xmake f -p windows -a x64 --qt="${env:QT_ROOT_DIR}" --lua-addon=${{ matrix.lua_addon }} --sdcc=${{ matrix.sdcc }} xmake b xmake i -o $install_dir mv $install_dir/bin/* $install_dir/ rmdir $install_dir/bin rm $install_dir/vc_redist.x64.exe - name: Upload uses: actions/upload-artifact@v4 with: name: Windows MSVC x64 - lua-addon=${{ matrix.lua_addon }}, sdcc=${{ matrix.sdcc }} path: pkg/*