From eacd1231a4cc66e75d7a95be5b619a3baffe9849 Mon Sep 17 00:00:00 2001 From: Nikita Shchutskii <144726123+ns-58@users.noreply.github.com> Date: Fri, 26 Sep 2025 20:05:25 +0300 Subject: [PATCH 1/2] chore: build + run tests workflow --- .github/workflows/ci.yml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..1380e07 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,39 @@ +name: Build master + +on: + pull_request: + branches: + - 'master' + push: + branches: + - "master" + - "ci" + +env: + OPAMROOT: /home/opam/.opam + OPAMYES: true + OPAMCONFIRMLEVEL: unsafe-yes + +jobs: + build: + runs-on: ubuntu-latest + container: + image: shimat/opencvsharp/ubuntu22-dotnet6sdk-opencv4.7.0:20230114 + + steps: + + - name: Checkout code + uses: actions/checkout@v4 + with: + fetch-depth: 1 + + - name: look_around + run: ls + + - name: build + run: dotnet build + + - name: run_tests + run: | + cd ./Tests + dotnet run From bdf400e26ae2ca94b70a1ea138a6e8c4ce5366e5 Mon Sep 17 00:00:00 2001 From: Nikita Shchutskii <144726123+ns-58@users.noreply.github.com> Date: Fri, 26 Sep 2025 20:06:53 +0300 Subject: [PATCH 2/2] fix: container name --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1380e07..7326964 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: build: runs-on: ubuntu-latest container: - image: shimat/opencvsharp/ubuntu22-dotnet6sdk-opencv4.7.0:20230114 + image: ghcr.io/shimat/opencvsharp/ubuntu22-dotnet6sdk-opencv4.7.0:20230114 steps: