diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bc2b2fb0..fe7fe29a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,8 +14,8 @@ jobs: strategy: matrix: os: [ - #ubuntu-latest, - #windows-latest, + ubuntu-latest, + windows-latest, macos-latest, ] steps: @@ -34,6 +34,7 @@ jobs: run: zig build run-bsp-tests -Doptimize=ReleaseSmall - name: Dry run packaging + if: ${{ matrix.os == 'macos-latest' }} run: | MICROZIG_VERSION=$(zig build package -- get-version) echo microzig version: $MICROZIG_VERSION diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6b78ec8c..6e2697fa 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -10,8 +10,11 @@ on: jobs: deploy-packages: - runs-on: ubuntu-latest + runs-on: macos-latest steps: + - name: Extract tag name + run: echo "TAG_NAME=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV + - name: Checkout uses: actions/checkout@v4 with: @@ -39,4 +42,9 @@ jobs: REMOTE_PORT: ${{ secrets.DEPLOY_PORT }} TARGET: "." - # TODO: create github release + - name: Create Release Draft + uses: ncipollo/release-action@v1 + with: + artifactErrorsFailBuild: true + draft: true + generateReleaseNotes: true diff --git a/build.zig b/build.zig index d599ec30..a91eb11c 100644 --- a/build.zig +++ b/build.zig @@ -10,7 +10,7 @@ const example_dep_names: []const []const u8 = &.{ //"examples/microchip/avr", "examples/gigadevice/gd32", "examples/stmicro/stm32", - "examples/espressif/esp", + //"examples/espressif/esp", "examples/raspberrypi/rp2040", };