Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Circle CI Stuffs #16

Open
wants to merge 56 commits into
base: libgdx
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
fe2584f
Add .circleci/config.yml
XyperCode Oct 17, 2023
2f195e9
Updated config.yml
XyperCode Oct 17, 2023
c33293b
Updated config.yml
XyperCode Oct 17, 2023
35f752c
Add .circleci/config.yml
XyperCode Oct 17, 2023
ce1304e
Updated config.yml
XyperCode Oct 17, 2023
49ce171
Updated config.yml
XyperCode Oct 17, 2023
11070d1
Updated config.yml
XyperCode Oct 17, 2023
51e3f1a
Updated config.yml
XyperCode Oct 17, 2023
d00775d
Updated config.yml
XyperCode Oct 17, 2023
0ef199a
Updated config.yml
XyperCode Oct 17, 2023
7b38594
Updated config.yml
XyperCode Oct 17, 2023
7a8a5c4
Updated config.yml
XyperCode Oct 17, 2023
07feefa
Updated config.yml
XyperCode Oct 17, 2023
75ee232
Updated config.yml
XyperCode Oct 17, 2023
db55e5e
Updated config.yml
XyperCode Oct 17, 2023
7f2fe48
Updated config.yml
XyperCode Oct 17, 2023
2081475
Updated config.yml
XyperCode Oct 17, 2023
267cbc9
Updated config.yml
XyperCode Oct 17, 2023
ef9a21d
Create gradlew-ci.bat
XyperCode Oct 17, 2023
4204f29
Updated config.yml
XyperCode Oct 17, 2023
4f711ad
Update gradlew-ci.bat
XyperCode Oct 17, 2023
5a0e915
Updated config.yml
XyperCode Oct 17, 2023
ee00db6
Updated config.yml
XyperCode Oct 17, 2023
c761ba7
Updated config.yml
XyperCode Oct 17, 2023
64fa032
Merge branch 'libgdx' into circleci-editor/122/circleci-project-setup
XyperCode Oct 17, 2023
c416dcb
Updated config.yml
XyperCode Oct 17, 2023
63bc650
Updated config.yml
XyperCode Oct 17, 2023
6f99a30
Updated config.yml
XyperCode Oct 17, 2023
254325c
Updated config.yml
XyperCode Oct 17, 2023
9f1a82a
Updated config.yml
XyperCode Oct 17, 2023
c9b091d
Updated config.yml
XyperCode Oct 17, 2023
ad878a2
Updated config.yml
XyperCode Oct 17, 2023
a53cdd3
Updated config.yml
XyperCode Oct 17, 2023
e55952c
Updated config.yml
XyperCode Oct 17, 2023
f0c3f3a
Updated config.yml
XyperCode Oct 17, 2023
eaf8d8e
Updated config.yml
XyperCode Oct 17, 2023
9214b6c
Updated config.yml
XyperCode Oct 17, 2023
57270c2
Updated config.yml
XyperCode Oct 17, 2023
2ec2253
Updated config.yml
XyperCode Oct 17, 2023
868a295
Updated config.yml
XyperCode Oct 17, 2023
9783a4b
Updated config.yml
XyperCode Oct 17, 2023
9125417
Updated config.yml
XyperCode Oct 17, 2023
eb30a36
Updated config.yml
XyperCode Oct 17, 2023
17a3026
Updated config.yml
XyperCode Oct 17, 2023
adc3c46
Updated config.yml
XyperCode Oct 17, 2023
39ccaea
Updated config.yml
XyperCode Oct 17, 2023
26a4b3a
Updated config.yml
XyperCode Oct 17, 2023
c5ad6e1
Updated config.yml
XyperCode Oct 17, 2023
11142e6
Updated config.yml
XyperCode Oct 17, 2023
8716855
Quilt Loader and package.zip
XyperCode Oct 22, 2023
dadc602
Merge remote-tracking branch 'origin/circleci-editor/122/circleci-pro…
XyperCode Oct 22, 2023
839b820
Update to UBO 1.1.0
XyperCode Oct 22, 2023
3c7e6e3
🪲 Fix some stuffs.
XyperCode Oct 31, 2023
e83fcef
Update Circle CI Config!
XyperCode Jan 29, 2024
3f4575f
Dang
XyperCode Jan 29, 2024
d7af2c6
Bruh
XyperCode Feb 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Use the latest 2.1 version of CircleCI pipeline process engine.
# See: https://circleci.com/docs/2.0/configuration-reference
version: 2.1

# Define a job to be invoked later in a workflow.
# See: https://circleci.com/docs/2.0/configuration-reference/#jobs
jobs:
build:
# Specify the execution environment. You can specify an image from Dockerhub, or use one of our Convenience Images from CircleCI's Developer Hub.
# See: https://circleci.com/docs/2.0/configuration-reference/#docker-machine-macos-windows-executor
docker:
- image: gradle:jdk17
description: "Build Linux DEB package"
# Add steps to the job
# See: https://circleci.com/docs/2.0/configuration-reference/#steps
steps:
- checkout
- run:
name: "Make gradlew executable"
command: "chmod +x gradlew"
- run:
name: "Install APT Packages"
command: "apt update -y && apt install fakeroot -y"
- run:
name: "Build Project"
command: |
./gradlew pack --no-daemon
environment:
CIRCLE_CI: "true"
- store_artifacts:
name: "Store Artifacts"
path: desktop-merge/build/dist

# Invoke jobs via workflows
# See: https://circleci.com/docs/2.0/configuration-reference/#workflows
workflows:
build-workflow:
jobs:
- build
152 changes: 3 additions & 149 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,157 +29,11 @@ jobs:
- name: Make gradle wrapper executable
run: chmod +x ./gradlew
- name: Build
run: ./gradlew :desktop-merge:jpackage --info
run: ./gradlew pack
env:
GITHUB_BUILD_NUMBER: ${{ github.run_number }}
- name: Capture the build artifacts
uses: actions/upload-artifact@v2
with:
name: Bubble Blaster Linux Build ${{ github.run_number }} (DEB)
path: desktop-merge/build/dist
build-macos:
strategy:
matrix:
# Use these Java versions
java: [
17 # Minimum supported
]
os: [macOS-11]
runs-on: ${{ matrix.os }}
name: Build on ${{ matrix.os }} (APP)
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Validate gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Setup JDK ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Make gradle wrapper executable
run: chmod +x ./gradlew
- name: Build
run: ./gradlew :desktop-merge:jpackage --info
env:
GITHUB_BUILD_NUMBER: ${{ github.run_number }}
- name: Capture the build artifacts
uses: actions/upload-artifact@v2
with:
name: Bubble Blaster MacOS Build ${{ github.run_number }} (APP)
path: desktop-merge/build/dist
build-windows:
strategy:
matrix:
# Use these Java versions
java: [
17 # Minimum supported
]
os: [windows-2022]
runs-on: ${{ matrix.os }}
name: Build on ${{ matrix.os }} (EXE)
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Validate gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Setup JDK ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Build
run: cmd /c "gradlew.bat jpackage --info"
env:
GITHUB_BUILD_NUMBER: ${{ github.run_number }}
- name: Capture the build artifacts
uses: actions/upload-artifact@v2
with:
name: Bubble Blaster Windows Build ${{ github.run_number }} (EXE)
path: desktop-merge/build/dist
build-linux-alt:
strategy:
matrix:
# Use these Java versions
java: [
17 # Minimum supported
]
os: [ubuntu-22.04]
runs-on: ${{ matrix.os }}
name: Build on ${{ matrix.os }} (PORTABLE)
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Validate gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Setup JDK ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Make gradle wrapper executable
run: chmod +x ./gradlew
- name: Build
run: ./gradlew :desktop-merge:jpackageAlt --info
env:
GITHUB_BUILD_NUMBER: ${{ github.run_number }}
- name: Capture the build artifacts
uses: actions/upload-artifact@v2
with:
name: Bubble Blaster Linux Build ${{ github.run_number }} (PORTABLE)
path: desktop-merge/build/dist
build-macos-alt:
strategy:
matrix:
# Use these Java versions
java: [
17 # Minimum supported
]
os: [macOS-11]
runs-on: ${{ matrix.os }}
name: Build on ${{ matrix.os }} (PKG)
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Validate gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Setup JDK ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Make gradle wrapper executable
run: chmod +x ./gradlew
- name: Build
run: ./gradlew :desktop-merge:jpackageAlt --info
env:
GITHUB_BUILD_NUMBER: ${{ github.run_number }}
- name: Capture the build artifacts
uses: actions/upload-artifact@v2
with:
name: Bubble Blaster MacOS Build ${{ github.run_number }} (PKG)
path: desktop-merge/build/dist
build-windows-msi:
strategy:
matrix:
# Use these Java versions
java: [
17 # Minimum supported
]
os: [windows-2022]
runs-on: ${{ matrix.os }}
name: Build on ${{ matrix.os }} (MSI)
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Validate gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Setup JDK ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Build
run: cmd /c "gradlew.bat jpackageAlt --info"
env:
GITHUB_BUILD_NUMBER: ${{ github.run_number }}
- name: Capture the build artifacts
uses: actions/upload-artifact@v2
with:
name: Bubble Blaster Windows Build ${{ github.run_number }} (MSI)
path: desktop-merge/build/dist
name: Bubble Blaster Build ${{ github.run_number }}
path: desktop-merge/build/dist
28 changes: 14 additions & 14 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -149,19 +149,19 @@ task run(type: Exec) {
commandLine "$adb", 'shell', 'am', 'start', '-n', 'com.ultreon.bubbles/com.ultreon.bubbles.AndroidLauncher'
}

publishing {
publications {
release(MavenPublication) {
groupId = project_group
artifactId = project_id
version = project_version

afterEvaluate {
println(components.properties)
from components.release_aab
}
}
}
}
//publishing {
// publications {
// release(MavenPublication) {
// groupId = project_group
// artifactId = project_id
// version = project_version
//
// afterEvaluate {
// println(components.properties)
// from components.release_aab
// }
// }
// }
//}

//eclipse.project.name = project_name + "-android"
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@ public void loadGameResources(AtomicReference<ProgressMessenger> progressAlt, Me

@Override
public String getGameVersion() {
return BuildConfig.VERSION_NAME;
return "0.1.0";
}

@Override
public boolean isDevelopmentEnvironment() {
return BuildConfig.DEBUG;
return false;
}

@Override
Expand Down
Loading
Loading