-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apriltags 2.0.0
- Loading branch information
Showing
122 changed files
with
5,442 additions
and
182,038 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,103 @@ | ||
name: CMake | ||
on: | ||
push: | ||
branches: | ||
- "**" | ||
env: | ||
BUILD_TYPE: Release | ||
jobs: | ||
build-linux: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
- uses: actions/setup-java@v3 | ||
with: | ||
distribution: adopt | ||
java-version: "8" | ||
- name: Configure CMake | ||
run: cmake . | ||
- name: Build | ||
run: cmake --build ${{github.workspace}} --config ${{env.BUILD_TYPE}} | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: native-linux-amd64 | ||
path: ${{github.workspace}}/*.so | ||
build-windows: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
- uses: actions/setup-java@v3 | ||
with: | ||
distribution: adopt | ||
java-version: "8" | ||
- name: Configure CMake | ||
run: cmake -T ClangCL . | ||
- name: Build | ||
run: cmake --build ${{github.workspace}} --config ${{env.BUILD_TYPE}} | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: native-windows-amd64 | ||
path: ${{github.workspace}}\${{env.BUILD_TYPE}}\*.dll | ||
build-mac: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
- uses: actions/setup-java@v3 | ||
with: | ||
distribution: adopt | ||
java-version: "8" | ||
- name: Configure CMake | ||
run: cmake . | ||
- name: Build | ||
run: cmake --build ${{github.workspace}} --config ${{env.BUILD_TYPE}} | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: native-mac-amd64 | ||
path: ${{github.workspace}}/*.dylib | ||
build-mac-cross-m1: | ||
needs: | ||
- build-linux | ||
- build-windows | ||
- build-mac | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
- uses: actions/setup-java@v3 | ||
with: | ||
distribution: adopt | ||
java-version: "8" | ||
- name: Configure CMake | ||
run: cmake -DCMAKE_OSX_ARCHITECTURES="arm64" . | ||
- name: Build | ||
run: cmake --build ${{github.workspace}} --config ${{env.BUILD_TYPE}} | ||
- uses: actions/download-artifact@v3 | ||
with: | ||
name: native-windows-amd64 | ||
path: ${{github.workspace}} | ||
- uses: actions/download-artifact@v3 | ||
with: | ||
name: native-linux-amd64 | ||
path: ${{github.workspace}} | ||
- uses: actions/download-artifact@v3 | ||
with: | ||
name: native-mac-amd64 | ||
path: ${{github.workspace}} | ||
|
||
- uses: marvinpinto/action-automatic-releases@latest | ||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
automatic_release_tag: natives-${{github.ref}} | ||
prerelease: true | ||
title: Natives from ${{github.ref}} | ||
files: | | ||
${{github.workspace}}/*.dll | ||
${{github.workspace}}/*.so | ||
${{github.workspace}}/*.dylib |
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "src/main/cpp/apriltag"] | ||
path = src/main/cpp/apriltag | ||
url = https://github.com/AprilRobotics/apriltag |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
plugins { | ||
id 'java' | ||
id 'maven-publish' | ||
} | ||
|
||
group 'org.firstinspires.ftc' | ||
version '8.2.0' | ||
|
||
java { | ||
sourceCompatibility = JavaVersion.VERSION_1_8 | ||
targetCompatibility = JavaVersion.VERSION_1_8 | ||
} | ||
|
||
|
||
task sourcesJar(type: Jar) { | ||
from sourceSets.main.allJava | ||
archiveClassifier = "sources" | ||
} | ||
|
||
publishing { | ||
publications { | ||
mavenJava(MavenPublication) { | ||
from components.java | ||
artifact sourcesJar | ||
} | ||
} | ||
} | ||
|
||
repositories { | ||
mavenCentral() | ||
} | ||
|
||
dependencies { | ||
implementation fileTree(include: ['*.jar'], dir: 'libs') | ||
} |
Binary file not shown.
Oops, something went wrong.