From 048afcebd91c737b16673aa33a9f22267ff36dac Mon Sep 17 00:00:00 2001 From: Adrian Del Grosso <10929341+ad3154@users.noreply.github.com> Date: Fri, 18 Aug 2023 18:58:16 -0600 Subject: [PATCH] Add Workflow Added build actions --- .github/workflows/build.yml | 46 +++++++++++++++++++++++++++++++++++++ submodules/agisostack | 2 +- 2 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..738d6a1 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,46 @@ +name: Build + +on: push + +jobs: + windows_build: + name: Windows Build + runs-on: windows-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + submodules: recursive + - name: Compile + run: | + mkdir build + cmake -S . -B build -DBUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF -DCAN_DRIVER=None -DCMAKE_BUILD_TYPE=Release + cmake --build build + - name: Upload Artifacts + uses: actions/upload-artifact@v3 + with: + name: windows-executable + path: | + build/Release/*.dll + build/Release/*.exe + + ubuntu_build: + name: Ubuntu Build + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + submodules: recursive + - name: Compile + run: | + mkdir build + sudo apt-get install -y libgl1-mesa-dev + cmake -S . -B build -DBUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF -DCAN_DRIVER=None -DCMAKE_BUILD_TYPE=Release + cmake --build build + - name: Upload Artifacts + uses: actions/upload-artifact@v3 + with: + name: linux-executable + path: | + build/AgIsoDDOPGenerator diff --git a/submodules/agisostack b/submodules/agisostack index 0e43ba2..4671ec2 160000 --- a/submodules/agisostack +++ b/submodules/agisostack @@ -1 +1 @@ -Subproject commit 0e43ba29137a7292c25f0e9623c836e72bf622c7 +Subproject commit 4671ec29e54acaa09d07af6fe648eb8434f71cf3