kitgit

tirbofish/dropbear · diff

3288088 · tk

Merge pull request #1 from 4tkbytes/github-actions-yaml ci: github actions

Unverified

diff --git a/.github/workflows/create_executable.yaml b/.github/workflows/create_executable.yaml
new file mode 100644
index 0000000..ca2c678
--- /dev/null
+++ b/.github/workflows/create_executable.yaml
@@ -0,0 +1,92 @@
+
+name: Build Executables
+
+on:
+  push: {}
+  pull_request: {}
+
+jobs:
+  build:
+    name: Build for ${{ matrix.os_name }}
+    runs-on: ${{ matrix.os }}
+    strategy:
+      matrix:
+        include:
+          - os: windows-latest
+            os_name: windows-x64
+            target: x86_64-pc-windows-msvc
+            ext: .exe
+            russimp_url: https://github.com/jkvargas/russimp-sys/releases/download/v2.0.3/russimp-2.0.3-x86_64-pc-windows-msvc-dylib.tar.gz
+            russimp_file: assimp.dll
+          - os: ubuntu-latest
+            os_name: linux-x64
+            target: x86_64-unknown-linux-gnu
+            ext: ""
+            russimp_url: https://github.com/jkvargas/russimp-sys/releases/download/v2.0.3/russimp-2.0.3-x86_64-unknown-linux-gnu-dylib.tar.gz
+            russimp_file: libassimp.so.5
+          - os: macos-latest
+            os_name: macos-arm64
+            target: aarch64-apple-darwin
+            ext: ""
+            russimp_url: https://github.com/jkvargas/russimp-sys/releases/download/v2.0.3/russimp-2.0.3-x86_64-apple-darwin-dylib.tar.gz
+            russimp_file: libassimp.5.dylib
+
+    steps:
+      - uses: actions/checkout@v4
+
+      - name: Install libudev-dev (Linux)
+        if: matrix.os == 'ubuntu-latest'
+        run: sudo apt-get update && sudo apt-get install -y libudev-dev
+
+      - name: Install assimp-utils (Linux)
+        if: matrix.os == 'ubuntu-latest'
+        run: sudo apt-get install -y assimp-utils
+

Large diffs are not rendered by default. Showing the first 50 of 149 lines. Show full diff