-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Huge update of native code handling (#218)
* Added Pardinus source code back into Alloy. Required to cleanup the native code. * Update to the pardinus core for the SATFactory usage as identifier * Added native code project * Update to the native code handling * Just removed some files to test that were used as examples * Adaptions to the new native code handling * Needed for eclipse * First batch of natives * Added native code build * Divide native builds in triggers and subflow * Divide native builds in triggers and subflow * Divide native builds in triggers and subflow * Divide native builds in triggers and subflow * Divide native builds in triggers and subflow * Divide native builds in triggers and subflow * Divide native builds in triggers and subflow * Divide native builds in triggers and subflow * Divide native builds in triggers and subflow
- Loading branch information
Showing
469 changed files
with
93,968 additions
and
916 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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: Native Code | ||
|
||
on: | ||
workflow_call: | ||
|
||
|
||
jobs: | ||
build: | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- name: Install GMP | ||
run: brew install gmp | ||
|
||
- name: Check out code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Run Shell Script | ||
run: | | ||
export HOMEBREW_NO_INSTALL_CLEANUP=true | ||
brew install docker | ||
colima start | ||
./gradlew --parallel compileJava | ||
make -C org.alloytools.pardinus.native/satsolvers install | ||
colima stop | ||
- name: Commit and Push Changes | ||
run: | | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
- name: Create pull request | ||
uses: peter-evans/create-pull-request@v3 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
commit-message: "Native code update request" | ||
title: "Native code update" | ||
delete-branch: true | ||
branch: native-code | ||
base: master |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: Native Code on master branch | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
paths: | ||
- 'org.alloytools.solvers.natv/satsolvers/**' | ||
|
||
jobs: | ||
call-native: | ||
uses: ./.github/workflows/subflow-native.yaml | ||
secrets: inherit |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: Native code branch changed | ||
|
||
on: | ||
push: | ||
branches: | ||
- native | ||
|
||
jobs: | ||
call-native: | ||
uses: ./.github/workflows/subflow-native.yaml | ||
secrets: inherit |
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
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
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.