From 374dff9088537ae35af775c823e153a8245d68c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorbj=C3=B8rn=20Ravn=20Andersen?= Date: Sun, 18 Dec 2022 17:25:11 +0100 Subject: [PATCH 1/5] Create c-cpp.yml --- .github/workflows/c-cpp.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/c-cpp.yml diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml new file mode 100644 index 0000000..9040a06 --- /dev/null +++ b/.github/workflows/c-cpp.yml @@ -0,0 +1,14 @@ +name: C/C++ CI + +on: + push: + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: make + run: make -C RunCPM posix build From 86b3ca64dabe0bb75357f02e53e2633bf57dce52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorbj=C3=B8rn=20Ravn=20Andersen?= Date: Tue, 25 Jul 2023 12:44:35 +0200 Subject: [PATCH 2/5] Update c-cpp.yml --- .github/workflows/c-cpp.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 9040a06..8bd9b0c 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -1,4 +1,4 @@ -name: C/C++ CI +name: build ubuntu on: push: From 0cb206c1afbdf263222b9f8d0f2c92b41a1ce4a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorbj=C3=B8rn=20Ravn=20Andersen?= Date: Sat, 21 Oct 2023 01:10:09 +0200 Subject: [PATCH 3/5] Create msbuild.yml --- .github/workflows/msbuild.yml | 44 +++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 .github/workflows/msbuild.yml diff --git a/.github/workflows/msbuild.yml b/.github/workflows/msbuild.yml new file mode 100644 index 0000000..4ff5521 --- /dev/null +++ b/.github/workflows/msbuild.yml @@ -0,0 +1,44 @@ +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. + +name: MSBuild + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +env: + # Path to the solution file relative to the root of the project. + SOLUTION_FILE_PATH: . + + # Configuration type to build. + # You can convert this to a build matrix if you need coverage of multiple configuration types. + # https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix + BUILD_CONFIGURATION: Release + +permissions: + contents: read + +jobs: + build: + runs-on: windows-latest + + steps: + - uses: actions/checkout@v3 + + - name: Add MSBuild to PATH + uses: microsoft/setup-msbuild@v1.0.2 + + - name: Restore NuGet packages + working-directory: ${{env.GITHUB_WORKSPACE}} + run: nuget restore ${{env.SOLUTION_FILE_PATH}} + + - name: Build + working-directory: ${{env.GITHUB_WORKSPACE}} + # Add additional options to the MSBuild command line here (like platform or verbosity level). + # See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference + run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}} From b943edd4a66005fa6d390e354ca8e8c45cc9a584 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorbj=C3=B8rn=20Ravn=20Andersen?= Date: Sat, 21 Oct 2023 01:00:39 +0200 Subject: [PATCH 4/5] Added Ubuntu and MacOS build --- .github/workflows/macos-build.yaml | 14 ++++++++++++++ .github/workflows/{c-cpp.yml => ubuntu-build.yaml} | 2 +- .gitignore | 5 +++++ 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/macos-build.yaml rename .github/workflows/{c-cpp.yml => ubuntu-build.yaml} (89%) diff --git a/.github/workflows/macos-build.yaml b/.github/workflows/macos-build.yaml new file mode 100644 index 0000000..d1047b7 --- /dev/null +++ b/.github/workflows/macos-build.yaml @@ -0,0 +1,14 @@ +name: MacOS build + +on: + push: + +jobs: + build: + + runs-on: macos-latest + + steps: + - uses: actions/checkout@v3 + - name: make + run: make -C RunCPM macosx build diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/ubuntu-build.yaml similarity index 89% rename from .github/workflows/c-cpp.yml rename to .github/workflows/ubuntu-build.yaml index 8bd9b0c..3ca0ec5 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/ubuntu-build.yaml @@ -1,4 +1,4 @@ -name: build ubuntu +name: Ubuntu build on: push: diff --git a/.gitignore b/.gitignore index bfdab39..93092fc 100644 --- a/.gitignore +++ b/.gitignore @@ -61,3 +61,8 @@ RunCPM/lua/*.exe RunCPM/lua/*.a RunCPM/lua/lua RunCPM/lua/luac +RunCPM/A +RunCPM/B +RunCPM/C +RunCPM/D +RunCPM/E From 089b8ee900f0005cecd113bab75b64f1faf3bbd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorbj=C3=B8rn=20Ravn=20Andersen?= Date: Sat, 21 Oct 2023 01:37:09 +0200 Subject: [PATCH 5/5] Update msbuild.yml --- .github/workflows/msbuild.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/msbuild.yml b/.github/workflows/msbuild.yml index 4ff5521..4b46790 100644 --- a/.github/workflows/msbuild.yml +++ b/.github/workflows/msbuild.yml @@ -33,9 +33,10 @@ jobs: - name: Add MSBuild to PATH uses: microsoft/setup-msbuild@v1.0.2 - - name: Restore NuGet packages - working-directory: ${{env.GITHUB_WORKSPACE}} - run: nuget restore ${{env.SOLUTION_FILE_PATH}} +# not needed and takes time +# - name: Restore NuGet packages +# working-directory: ${{env.GITHUB_WORKSPACE}} +# run: nuget restore ${{env.SOLUTION_FILE_PATH}} - name: Build working-directory: ${{env.GITHUB_WORKSPACE}}