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

Merge main into elevation-wip #279

Merged
merged 85 commits into from
Jan 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
893f8c3
Update README.md
louis-e Jan 6, 2025
a2d6170
Add dependencies for building to flake.nix
ctrlaltf2 Jan 7, 2025
8d91d98
Merge pull request #221 from ctrlaltf2/main
louis-e Jan 7, 2025
5d2cdee
License Change from GPL-3.0 to Apache 2.0
louis-e Jan 7, 2025
23e55e0
Update README.md
louis-e Jan 7, 2025
dba0e45
Merge pull request #231 from louis-e/apache-license-1
louis-e Jan 7, 2025
05cd857
Merge pull request #230 from louis-e/apache-license
louis-e Jan 7, 2025
b4a9852
fix: respect building:levels tag from OSM relations
louis-e Jan 7, 2025
1c0a3b3
CI (fmt) fix: respect building:levels tag from OSM relations
louis-e Jan 7, 2025
6e8160c
CI (fmt) fix: respect building:levels tag from OSM relations
louis-e Jan 7, 2025
3af10a2
include generic linux binary in releases workflow
amir16yp Jan 7, 2025
aea28d1
Merge pull request #232 from louis-e/multipolygon-building-levels-fix
louis-e Jan 7, 2025
a841178
Merge branch 'louis-e:main' into main
amir16yp Jan 7, 2025
09d3b89
Add arm64 mac os and linux
amir16yp Jan 7, 2025
6c59369
Update release.yml
amir16yp Jan 7, 2025
366a651
Implemented aeroways
louis-e Jan 7, 2025
9be60f7
remove arm64 linux, not compiling for some reason
amir16yp Jan 7, 2025
f05ed0c
mac isnt compiling, try linux x86 and x64 and windows x86 and x64
amir16yp Jan 7, 2025
43e8cce
whoops
amir16yp Jan 7, 2025
ecaaea5
make it only support linux and windows x64
amir16yp Jan 7, 2025
ed22a6c
Merge pull request #233 from louis-e/aeroways
louis-e Jan 7, 2025
37cd210
Adapt building height automatically to scale
louis-e Jan 7, 2025
88e7cc3
Adapt building height automatically to scale
louis-e Jan 7, 2025
273e02d
Support building:min_level tag for elevated building parts
louis-e Jan 7, 2025
14d9352
Merge pull request #235 from louis-e/scale-adaptive-building-height
louis-e Jan 7, 2025
410bd7b
Merge branch 'main' into buildings-min_level
louis-e Jan 7, 2025
edba29b
Merge pull request #236 from louis-e/buildings-min_level
louis-e Jan 7, 2025
357dded
Ensure minimum height for parking structure
louis-e Jan 7, 2025
dc57d09
Added Swedish and Korean, fixed Spanish
louis-e Jan 7, 2025
ac9bfab
just do linux and windows for now
amir16yp Jan 7, 2025
b6838fd
Merge branch 'louis-e:main' into main
amir16yp Jan 7, 2025
e4ed404
Merge pull request #237 from louis-e/minimum-height-parking
louis-e Jan 7, 2025
dbd96cf
Merge pull request #238 from louis-e/translation-patch
louis-e Jan 7, 2025
7cfb78b
Merge pull request #240 from amir16yp/main
louis-e Jan 7, 2025
486541b
Updated license
louis-e Jan 7, 2025
bac2633
Improved error handling and fixed some minor bugs
louis-e Jan 7, 2025
9b33ed1
CI (fmt) fix: Improved error handling and fixed some minor bugs
louis-e Jan 7, 2025
cc5e691
Merge pull request #241 from louis-e/data-retrieval-error-handling
louis-e Jan 7, 2025
9ea8e88
Removed unreliable API servers
louis-e Jan 7, 2025
155f66d
Removed obsolete .log suffix
louis-e Jan 7, 2025
103fe83
Update version
louis-e Jan 7, 2025
9570d05
Update version
louis-e Jan 7, 2025
999dd8d
Fix Github Actions CI
louis-e Jan 8, 2025
83be3c7
Fix tall grass generating on non-grass blocks. Change random roof col…
zer0-dev Jan 9, 2025
c26cb93
Fix building levels counting as difference between buildng:levels and…
zer0-dev Jan 10, 2025
c4e27b6
Fix Github Actions CI
zer0-dev Jan 10, 2025
9470bbf
Ignore kerbs
RedAuburn Jan 10, 2025
1274781
Formatting
zer0-dev Jan 11, 2025
b34a9c8
Formatting
zer0-dev Jan 11, 2025
24d7a7e
Use Minecraft Flatpak directory if it exists
RedAuburn Jan 10, 2025
553dce3
Fixed CI Clippy warnings
louis-e Jan 11, 2025
c750b90
Merge pull request #264 from louis-e/clippy-fix
louis-e Jan 11, 2025
3c5f5ef
Merge branch 'main' into mc-flatpak
louis-e Jan 11, 2025
a604e54
Merge branch 'main' into kerbs
louis-e Jan 11, 2025
a0d2427
Merge branch 'main' into min_level_fix
louis-e Jan 11, 2025
8ed8642
Merge branch 'main' into main
louis-e Jan 11, 2025
3689bfb
Merge pull request #259 from RedAuburn/mc-flatpak
louis-e Jan 11, 2025
920725d
Merge pull request #258 from RedAuburn/kerbs
louis-e Jan 11, 2025
9d6c528
Merge pull request #257 from zer0-dev/min_level_fix
louis-e Jan 11, 2025
5e6eb09
Simplified translation to avoid line breaking
louis-e Jan 11, 2025
7b7ff6b
Merge pull request #265 from louis-e/russian-line-breaking
louis-e Jan 11, 2025
28ecbb5
Merge branch 'louis-e:main' into main
zer0-dev Jan 11, 2025
ea3cf80
Add SNOW_BLOCK to whitelist for tall grass generation. Sort parsed_el…
zer0-dev Jan 11, 2025
408e182
Show custom bbox on map-container
zer0-dev Jan 11, 2025
a92c5bb
Merge pull request #267 from zer0-dev/custom_bbox_show
louis-e Jan 11, 2025
0efa681
Merge pull request #253 from zer0-dev/main
louis-e Jan 12, 2025
3efb846
Readme enhancements and credits addition
louis-e Jan 12, 2025
e2c9b07
Merge branch 'main' into readme-enhancement
louis-e Jan 12, 2025
9cb919e
Merge pull request #269 from louis-e/readme-enhancement
louis-e Jan 12, 2025
e9a2329
Update README.md
louis-e Jan 12, 2025
df09afe
Added prerelease workflow
louis-e Jan 12, 2025
ef25c66
Merge pull request #270 from louis-e/prerelease-action
louis-e Jan 12, 2025
0850bca
Update prerelease.yml
louis-e Jan 12, 2025
c2b9f87
Update bug_report.md
louis-e Jan 12, 2025
18d3e45
Optimize world save with parallel chunks & buffer reuse
louis-e Jan 12, 2025
7792930
Optimize world save with parallel chunks & buffer reuse
louis-e Jan 12, 2025
f661f17
Optimize world save with parallel chunks & buffer reuse
louis-e Jan 12, 2025
17ead3c
Fixed leisure generation for multipolygons
louis-e Jan 12, 2025
3eb29a0
Fixed leisure generation for multipolygons
louis-e Jan 12, 2025
ba9c7df
Merge branch 'main' into park-relation-fix
louis-e Jan 12, 2025
b34bf4f
CI (fmt) fix: Fixed leisure generation for multipolygons
louis-e Jan 12, 2025
f60170e
CI (fmt) fix: Fixed leisure generation for multipolygons
louis-e Jan 12, 2025
49a5ed8
Merge pull request #272 from louis-e/park-relation-fix
louis-e Jan 12, 2025
7e929d5
Add fallback api urls specifically for Russia
zer0-dev Jan 12, 2025
6e3406f
Merge pull request #276 from zer0-dev/russia_overpass_workaround
louis-e Jan 12, 2025
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
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ Please tell us what version of Arnis and Minecraft you used.
If applicable, add screenshots to help explain your problem.

**Additional context**
Add any other context about the problem here. If you used any more custom settings, please provide them here too.
Add any other context about the problem here. If you used any more custom settings, please provide them here too. If you experienced any issue with the application itself like a crash, please provide the log file which can be found at C:\Users\USERNAME\AppData\Local\com.louisdev.arnis\logs
92 changes: 92 additions & 0 deletions .github/workflows/prerelease.yml.disabled
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
name: [DISABLED] Pre-release Dev Build

on:
push:
branches:
- main

jobs:
build:
strategy:
matrix:
include:
- os: windows-latest
target: x86_64-pc-windows-msvc
binary_name: arnis.exe
asset_name: arnis-windows-x64.exe
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
binary_name: arnis
asset_name: arnis-linux-x64

runs-on: ${{ matrix.os }}

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Rust
uses: dtolnay/rust-toolchain@v1
with:
toolchain: stable
targets: ${{ matrix.target }}

- name: Install Linux dependencies
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt update
sudo apt install -y software-properties-common
sudo add-apt-repository universe
echo "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc)-backports main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list
sudo apt update
sudo apt install -y libgtk-3-dev build-essential pkg-config libglib2.0-dev libsoup-3.0-dev libwebkit2gtk-4.1-dev
echo "PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig" >> $GITHUB_ENV

- name: Install dependencies
run: cargo fetch --locked

- name: Build
run: cargo build --frozen --release

- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.os }}-build
path: target/release/${{ matrix.binary_name }}

prerelease:
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Download Windows build artifact
uses: actions/download-artifact@v3
with:
name: windows-latest-build
path: ./builds/windows

- name: Download Linux build artifact
uses: actions/download-artifact@v3
with:
name: ubuntu-latest-build
path: ./builds/linux

- name: Make Linux binary executable
run: chmod +x ./builds/linux/arnis

- name: Create Pre-release on GitHub
uses: ncipollo/release-action@v1
with:
tag: "dev-build-${{ github.run_number }}"
name: "Experimental Development Build #${{ github.run_number }}"
body: "Automated pre-release built from the main branch for testing purposes. This build may contain experimental features. For the latest official version, please download the latest stable release."
draft: false
prerelease: true
makeLatest: false
files: |
builds/windows/arnis.exe
builds/linux/arnis
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
53 changes: 43 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,61 @@
name: Build and Release Rust Project
name: Build and Release Arnis

on:
release:
types: [created]

jobs:
build:
runs-on: windows-latest
strategy:
matrix:
include:
- os: windows-latest
target: x86_64-pc-windows-msvc
binary_name: arnis.exe
asset_name: arnis-windows-x64.exe
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
binary_name: arnis
asset_name: arnis-linux-x64

runs-on: ${{ matrix.os }}

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Rust for Windows
- name: Set up Rust
uses: dtolnay/rust-toolchain@v1
with:
toolchain: stable
targets: x86_64-pc-windows-msvc
targets: ${{ matrix.target }}

- name: Install Linux dependencies
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt update
sudo apt install -y software-properties-common
sudo add-apt-repository universe
echo "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc)-backports main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list
sudo apt update
sudo apt install -y libgtk-3-dev build-essential pkg-config libglib2.0-dev libsoup-3.0-dev libwebkit2gtk-4.1-dev
echo "PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig" >> $GITHUB_ENV

- name: Install dependencies
run: cargo fetch --locked
run: cargo fetch

- name: Build
run: cargo build --frozen --release
run: cargo build --release

- name: Upload artifact (Windows)
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: windows-latest-build
path: target/release/arnis.exe
name: ${{ matrix.os }}-build
path: target/release/${{ matrix.binary_name }}

release:
runs-on: windows-latest
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand All @@ -43,10 +66,20 @@ jobs:
name: windows-latest-build
path: ./builds/windows

- name: Download Linux build artifact
uses: actions/download-artifact@v3
with:
name: ubuntu-latest-build
path: ./builds/linux

- name: Make Linux binary executable
run: chmod +x ./builds/linux/arnis

- name: Create GitHub Release
uses: softprops/action-gh-release@v1
with:
files: |
builds/windows/arnis.exe
builds/linux/arnis
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 2 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "arnis"
version = "2.1.2"
version = "2.1.3"
edition = "2021"
description = "Arnis - Generate real life cities in Minecraft"
homepage = "https://github.com/louis-e/arnis"
repository = "https://github.com/louis-e/arnis"
license = "GPL-3.0"
license = "Apache-2.0"
readme = "README.md"

[profile.release]
Expand All @@ -29,6 +29,7 @@ itertools = "0.14.0"
log = "0.4.22"
once_cell = "1.19.0"
rand = "0.8.5"
rayon = "1.10.0"
reqwest = { version = "0.12.7", features = ["blocking", "json"] }
rfd = "0.15.1"
semver = "1.0.23"
Expand Down
Loading
Loading