From 1b8b62ce8a0d5aa0099cea5724590f9d0b3c8cee Mon Sep 17 00:00:00 2001 From: jdegenstein Date: Mon, 17 Feb 2025 09:27:03 -0600 Subject: [PATCH] Create static_build.yml --- .github/workflows/static_build.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/static_build.yml diff --git a/.github/workflows/static_build.yml b/.github/workflows/static_build.yml new file mode 100644 index 0000000..2af5136 --- /dev/null +++ b/.github/workflows/static_build.yml @@ -0,0 +1,26 @@ +name: static_build +# this workflow is designed to: +# 1. create a static redistributable "build" of nice123d +# 2. create an OS specific launcher executable as an obvious entry point + +on: [workflow_dispatch] +jobs: + + tests: + strategy: + fail-fast: false + matrix: + python-version: ["3.12"] + os: [windows-latest] + # os: [macos-13, macos-14, ubuntu-latest, windows-latest] + + runs-on: ${{ matrix.os }} + steps: + - name: Check out nice123d from github repo + - uses: actions/checkout@v4 + - name: Install the latest version of uv + uses: astral-sh/setup-uv@v5 + with: + python-version: ${{ matrix.python-version }} + - name: Install nice123d from local folder + - run: uv pip install .