From 58fea84bd40f07bc46315cda7e9d42c78dad25d2 Mon Sep 17 00:00:00 2001 From: Jeff Ward Date: Sat, 23 Sep 2023 16:44:55 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=A9=E2=80=8D=F0=9F=92=BB=20Put=20build?= =?UTF-8?q?s=20into=20a=20build=20matrix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also upload artifacts, add Linux target. --- .github/workflows/build.yaml | 10 +++++++++- .vscode/settings.json | 5 ++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 8118e0d..b012c1e 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -6,7 +6,9 @@ on: pull_request: jobs: build_windows: - runs-on: [windows-latest] + strategy: + matrix: + os: [windows-latest, ubuntu-latest] env: DEPOT_TOOLS_WIN_TOOLCHAIN: 0 steps: @@ -20,3 +22,9 @@ jobs: - uses: threeal/cmake-action@v1.3.0 - name: Build Shared Library run: cmake --build build --config release + - name: 'Upload Artifact' + uses: actions/upload-artifact@v3 + with: + name: libs + path: ./build/src/Release/ + \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index 9dc4e40..19903bf 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -4,5 +4,8 @@ "**/.DS_Store": true, // this is a default value "dart-sdk/": true - } + }, + "dart.analysisExcludedFolders": [ + "dart-sdk" + ] } \ No newline at end of file