-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #349 from stepfunc/development
1.6.0 development
- Loading branch information
Showing
151 changed files
with
7,630 additions
and
1,958 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -162,12 +162,15 @@ jobs: | |
run: cargo run --bin dnp3-bindings -- --java -r ${{ matrix.target }} -a ./target/${{ matrix.target }}/release | ||
# Build bindings on MacOS [64-bit macOS (10.7+, Lion+) (x86_64-apple-darwin)] | ||
bindings-macos: | ||
runs-on: macos-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
target: | ||
- x86_64-apple-darwin # 64-bit macOS (10.7+, Lion+) | ||
include: | ||
- runner: macos-14 | ||
target: aarch64-apple-darwin | ||
- runner: macos-13 | ||
target: x86_64-apple-darwin | ||
runs-on: ${{ matrix.runner }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
@@ -292,9 +295,9 @@ jobs: | |
mv ./ffi/dnp3-ffi-java/dnp3-ffi-java.cdx.json ffi-modules/$target | ||
done | ||
- name: Create FFI third-party-licenses.txt | ||
run: allow-list gen-licenses-dir -l ffi-modules -b dnp3-ffi.cdx.json -c dep_config.json > third-party-licenses.txt | ||
run: allow-list gen-licenses-dir -l ffi-modules -b dnp3-ffi.cdx.json -c allowed.json > third-party-licenses.txt | ||
- name: Create FFI third-party-licenses-java.txt | ||
run: allow-list gen-licenses-dir -l ffi-modules -b dnp3-ffi-java.cdx.json -c dep_config.json > third-party-licenses-java.txt | ||
run: allow-list gen-licenses-dir -l ffi-modules -b dnp3-ffi-java.cdx.json -c allowed.json > third-party-licenses-java.txt | ||
- name: Package C/C++ bindings | ||
run: cargo run --bin dnp3-bindings -- --c --package ./ffi-modules --options ./packaging.json -f third-party-licenses.txt | ||
- name: Package .NET bindings | ||
|
@@ -371,7 +374,7 @@ jobs: | |
run: | | ||
mkdir release | ||
cd artifacts/c-bindings | ||
zip -r ../../release/dnp3-${GITHUB_REF##*/}.zip . | ||
zip -r ../../release/dnp3-${{github.ref_name}}.zip . | ||
cd ../conformance-results | ||
zip -r ../../release/conformance-results.zip . | ||
- name: Checkout stepfunc/docs | ||
|
@@ -385,11 +388,11 @@ jobs: | |
run: | | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
rm -rf ./dnp3/${GITHUB_REF##*/} | ||
mkdir -p ./dnp3/${GITHUB_REF##*/} | ||
cp -a ../artifacts/doc/* ./dnp3/${GITHUB_REF##*/} | ||
rm -rf ./dnp3/${{github.ref_name}} | ||
mkdir -p ./dnp3/${{github.ref_name}} | ||
cp -a ../artifacts/doc/* ./dnp3/${{github.ref_name}} | ||
git add -A | ||
git commit -m "[dnp3] Release ${GITHUB_REF##*/}" | ||
git commit -m "[dnp3] release ${{github.ref_name}}" | ||
git push | ||
- name: Import PGP key | ||
uses: crazy-max/ghaction-import-gpg@v3 | ||
|
@@ -405,9 +408,9 @@ jobs: | |
working-directory: artifacts/java-bindings | ||
run: > | ||
shopt -s extglob && | ||
mvn gpg:sign-and-deploy-file -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2 -DrepositoryId=ossrh -DpomFile=pom.xml -Dfile=$(find dnp3-+([0-9]).+([0-9]).+([0-9])*(-rc+([0-9])).jar) && | ||
mvn gpg:sign-and-deploy-file -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2 -DrepositoryId=ossrh -DpomFile=pom.xml -Dfile=$(find dnp3-+([0-9]).+([0-9]).+([0-9])*(-rc+([0-9]))-sources.jar) -Dclassifier=sources && | ||
mvn gpg:sign-and-deploy-file -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2 -DrepositoryId=ossrh -DpomFile=pom.xml -Dfile=$(find dnp3-+([0-9]).+([0-9]).+([0-9])*(-rc+([0-9]))-javadoc.jar) -Dclassifier=javadoc | ||
mvn gpg:sign-and-deploy-file -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2 -DrepositoryId=ossrh -DpomFile=pom.xml -Dfile=dnp3-${{github.ref_name}}.jar && | ||
mvn gpg:sign-and-deploy-file -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2 -DrepositoryId=ossrh -DpomFile=pom.xml -Dfile=dnp3-${{github.ref_name}}-sources.jar -Dclassifier=sources && | ||
mvn gpg:sign-and-deploy-file -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2 -DrepositoryId=ossrh -DpomFile=pom.xml -Dfile=dnp3-${{github.ref_name}}-javadoc.jar -Dclassifier=javadoc | ||
- name: Publish NuGet package | ||
shell: bash | ||
run: dotnet nuget push $(find artifacts/dotnet-bindings/dnp3*.nupkg) -s https://api.nuget.org/v3/index.json -k ${{ secrets.SFIO_NUGET_KEY }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.