From 63b19c79b09a38180ce3c98e201eb911494641e3 Mon Sep 17 00:00:00 2001 From: Brook <71849503+Primebrook@users.noreply.github.com> Date: Thu, 13 Feb 2025 12:43:09 +0000 Subject: [PATCH 1/5] ubuntu-20.04 --- .github/workflows/release.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 317c4ff..a3bcc43 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,9 +29,11 @@ jobs: nif: ["2.16"] job: - { target: aarch64-apple-darwin, os: macos-13, platform: "macOS (ARM64)" } - - { target: aarch64-unknown-linux-gnu, os: ubuntu-22.04, use-cross: true, platform: "Linux (ARM64)" } - - { target: x86_64-apple-darwin, os: macos-13, platform: "macOS (x86_64)" } - - { target: x86_64-unknown-linux-gnu, os: ubuntu-22.04, platform: "Linux (x86_64)" } + - { target: aarch64-unknown-linux-gnu, os: ubuntu-20.04, use-cross: true, platform: "Linux (ARM64)" } + - { target: x86_64-apple-darwin, os: macos-13, platform: "MacOS (x86_64)" } + - { target: x86_64-unknown-linux-gnu, os: ubuntu-20.04, platform: "Linux (x86_64, default)" } + - { target: x86_64-unknown-linux-gnu, os: ubuntu-20.04, platform: "Linux (x86_64, legacy)", variant: "legacy_cpu" } + - { target: x86_64-unknown-linux-musl, os: ubuntu-20.04, use-cross: true, platform: "Linux (musl, static)" } env: EXSTATIC_BUILD: true # Ensure RustlerPrecompiled forces a build @@ -71,6 +73,7 @@ jobs: target: ${{ matrix.job.target }} nif-version: ${{ matrix.nif }} use-cross: ${{ matrix.job.use-cross }} + variant: ${{ matrix.job.variant }} project-dir: "native/exstatic" - name: Upload compiled NIF artifact @@ -85,3 +88,4 @@ jobs: files: | ${{ steps.build-crate.outputs.file-path }} if: startsWith(github.ref, 'refs/tags/') + From 4f8134985ab4f95da2c39d415778720724cb1c89 Mon Sep 17 00:00:00 2001 From: Brook <71849503+Primebrook@users.noreply.github.com> Date: Thu, 13 Feb 2025 12:47:58 +0000 Subject: [PATCH 2/5] rust package v --- native/exstatic/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/exstatic/Cargo.toml b/native/exstatic/Cargo.toml index 7a99f66..4fe907d 100644 --- a/native/exstatic/Cargo.toml +++ b/native/exstatic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "exstatic" -version = "0.1.0" +version = "0.2.0" authors = [] edition = "2021" From 01790b62dd2f34f3f7d003c5b9f9f890504ddd13 Mon Sep 17 00:00:00 2001 From: Brook <71849503+Primebrook@users.noreply.github.com> Date: Thu, 13 Feb 2025 12:51:41 +0000 Subject: [PATCH 3/5] let's ignore musl builds for now --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a3bcc43..9a1a32e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,7 +33,7 @@ jobs: - { target: x86_64-apple-darwin, os: macos-13, platform: "MacOS (x86_64)" } - { target: x86_64-unknown-linux-gnu, os: ubuntu-20.04, platform: "Linux (x86_64, default)" } - { target: x86_64-unknown-linux-gnu, os: ubuntu-20.04, platform: "Linux (x86_64, legacy)", variant: "legacy_cpu" } - - { target: x86_64-unknown-linux-musl, os: ubuntu-20.04, use-cross: true, platform: "Linux (musl, static)" } + #- { target: x86_64-unknown-linux-musl, os: ubuntu-20.04, use-cross: true, platform: "Linux (musl, static)" } env: EXSTATIC_BUILD: true # Ensure RustlerPrecompiled forces a build From b4d0e5b4f986534116d4c78ed110b596cc27b706 Mon Sep 17 00:00:00 2001 From: Brook <71849503+Primebrook@users.noreply.github.com> Date: Thu, 13 Feb 2025 13:07:28 +0000 Subject: [PATCH 4/5] bump version --- mix.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mix.exs b/mix.exs index 0589cde..43c213a 100644 --- a/mix.exs +++ b/mix.exs @@ -1,7 +1,7 @@ defmodule Exstatic.MixProject do use Mix.Project - @version "0.2.0" + @version "0.2.1" @repo "Intellection/exstatic" @source_url "https://github.com/#{@repo}" From 32ec7db6d717dcce969dbd54e0cd0302e929d4ff Mon Sep 17 00:00:00 2001 From: Brook <71849503+Primebrook@users.noreply.github.com> Date: Thu, 13 Feb 2025 13:09:01 +0000 Subject: [PATCH 5/5] musl variant breaks --- .github/workflows/release.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9a1a32e..ae5e066 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,7 +33,6 @@ jobs: - { target: x86_64-apple-darwin, os: macos-13, platform: "MacOS (x86_64)" } - { target: x86_64-unknown-linux-gnu, os: ubuntu-20.04, platform: "Linux (x86_64, default)" } - { target: x86_64-unknown-linux-gnu, os: ubuntu-20.04, platform: "Linux (x86_64, legacy)", variant: "legacy_cpu" } - #- { target: x86_64-unknown-linux-musl, os: ubuntu-20.04, use-cross: true, platform: "Linux (musl, static)" } env: EXSTATIC_BUILD: true # Ensure RustlerPrecompiled forces a build @@ -88,4 +87,3 @@ jobs: files: | ${{ steps.build-crate.outputs.file-path }} if: startsWith(github.ref, 'refs/tags/') -