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

Update to latest + IconForge #11

Merged
merged 26 commits into from
Dec 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
1dbc65a
Update time.dm (#130)
ZephyrTFA May 21, 2023
00d42e0
Bump version major, due to breaking change in #130
optimumtact May 21, 2023
6a7e9b2
Try to fix the dependency issue
optimumtact May 21, 2023
8790918
Upgrade a bunch of dependencies (#134)
ZeWaka May 21, 2023
9b82cf2
Adds a redis reliable queue implementation (#133)
ZeWaka May 21, 2023
2ddb067
dmi_strip_metadata won't remove alpha channel anymore (#136)
DTraitor May 28, 2023
889a628
pedantic and nursery clippy lints (#137)
ZeWaka Jun 2, 2023
53f61f3
June `cargo update` (#138)
ZeWaka Jun 16, 2023
c8f4daf
2.0.1 (#139)
ZeWaka Jun 18, 2023
7b453e2
add uniform precision to rust-g timestamp (#141)
ZephyrTFA Jun 29, 2023
9176c47
adds rustg_dmi_icon_states (#140)
silicons Jul 8, 2023
613d8d5
2.1.0 (#143)
ZeWaka Jul 8, 2023
db877ce
Make mysql use the native rust tls stack by default (#144)
optimumtact Jul 22, 2023
9595ae3
3.0.0 (#147)
ZeWaka Jul 23, 2023
81e1a3c
Some routine updates for 3.0.0 (#152)
ZeWaka Sep 25, 2023
546b811
Use gitoxide rather than libgit2 for the git module (#156)
Absolucy Dec 17, 2023
fcef81e
Adds Base64 decoding stuff (#154)
AffectedArc07 Dec 17, 2023
df24c71
More routine updates (#157)
ZeWaka Dec 17, 2023
be0b4ae
Updates `rustg_file_exists()` macro to remove user error (#158)
Kapu1178 Dec 23, 2023
d7f305f
Last little bit of updates (#159)
ZeWaka Dec 23, 2023
e7429b6
v3.1.0 (#161)
ZeWaka Dec 23, 2023
86d5150
pathfinder: fix typo in rustg_remove_node_astar (#162)
vvvv-vvvv Dec 24, 2023
31bd2c7
pathfinder: stringify args expecting numbers (#163)
vvvv-vvvv Dec 24, 2023
8bcd063
Re-add all features release builds
itsmeow Dec 28, 2023
38b4346
Label linux builds
itsmeow Dec 28, 2023
a8ccf68
IconForge
itsmeow Dec 20, 2023
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
131 changes: 68 additions & 63 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,91 +2,96 @@ name: rust-g
on:
push:
branches:
- current-bee
- current-bee
pull_request:
branches:
- current-bee
- current-bee
jobs:
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
- uses: actions/checkout@v4

- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
target: i686-pc-windows-msvc
- name: Build (all features)
uses: actions-rs/cargo@v1
targets: i686-pc-windows-msvc
components: rustfmt, clippy

- uses: Swatinem/rust-cache@v2

- name: Clippy (all features)
run: cargo clippy --target i686-pc-windows-msvc --features all --locked -- -D warnings

- name: Rustfmt
run: cargo fmt -- --check

- name: Build (release) (all features)
run: cargo build --target i686-pc-windows-msvc --locked --release --features all

- uses: actions/upload-artifact@v3
with:
toolchain: stable
command: build
args: --target i686-pc-windows-msvc --release --all-features
- name: Upload artifact (all features)
uses: actions/upload-artifact@v1
name: Windows Build (All Features)
path: |
target/i686-pc-windows-msvc/release/rust_g.dll
target/i686-pc-windows-msvc/release/rust_g.pdb
target/rust_g.dm

- name: Build (release) (default features)
run: cargo build --target i686-pc-windows-msvc --locked --release

- uses: actions/upload-artifact@v3
with:
name: full_rust_g.dll
path: target/i686-pc-windows-msvc/release/rust_g.dll
- name: Build (release)
uses: actions-rs/cargo@v1
with:
toolchain: stable
command: build
args: --target i686-pc-windows-msvc --release
- name: Upload artifact (release)
uses: actions/upload-artifact@v1
with:
name: rust_g.dll
path: target/i686-pc-windows-msvc/release/rust_g.dll
name: Windows Build (Default Features)
path: |
target/i686-pc-windows-msvc/release/rust_g.dll
target/i686-pc-windows-msvc/release/rust_g.pdb
target/rust_g.dm

build-linux:
runs-on: ubuntu-20.04
env:
BYOND_MAJOR: 513
BYOND_MINOR: 1521
PKG_CONFIG_ALLOW_CROSS: 1
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4

- run: |
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install g++-multilib zlib1g-dev:i386 pkg-config libssl-dev:i386 libssl-dev libssl1.1:i386
sudo apt-get install libgcc-s1:i386 g++-multilib zlib1g-dev:i386
./scripts/install_byond.sh
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: i686-unknown-linux-gnu
- name: Build (Debug)
uses: actions-rs/cargo@v1

- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
command: build
args: --target i686-unknown-linux-gnu
- name: Run tests
uses: actions-rs/cargo@v1
targets: i686-unknown-linux-gnu

- uses: Swatinem/rust-cache@v2

- name: Check (all features)
run: cargo check --target i686-unknown-linux-gnu --locked --features all

- name: Build (release) (all features)
run: cargo build --target i686-unknown-linux-gnu --locked --features all

- uses: actions/upload-artifact@v3
with:
toolchain: stable
command: test
args: --target i686-unknown-linux-gnu
name: Linux Build (All Features)
path: |
target/i686-unknown-linux-gnu/release/librust_g.so
target/rust_g.dm

- name: Run tests (all features)
run: cargo test --target i686-unknown-linux-gnu --locked --features all
env:
BYOND_BIN: /home/runner/BYOND/byond/bin
- name: Build (all features)
uses: actions-rs/cargo@v1
with:
toolchain: stable
command: build
args: --target i686-unknown-linux-gnu --release --all-features
- name: Upload artifact (all features)
uses: actions/upload-artifact@v1
with:
name: full_librust_g.so
path: target/i686-unknown-linux-gnu/release/librust_g.so
- name: Build (release)
uses: actions-rs/cargo@v1
with:
toolchain: stable
command: build
args: --target i686-unknown-linux-gnu --release
- name: Upload artifact (release)
uses: actions/upload-artifact@v1

- name: Build (release) (default features)
run: cargo build --target i686-unknown-linux-gnu --locked --release

- uses: actions/upload-artifact@v3
with:
name: librust_g.so
path: target/i686-unknown-linux-gnu/release/librust_g.so
name: Linux Build (Default Features)
path: |
target/i686-unknown-linux-gnu/release/librust_g.so
target/rust_g.dm
5 changes: 4 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{
"rust-analyzer.cargo.target": "i686-pc-windows-msvc"
"rust-analyzer.cargo.target": "i686-pc-windows-msvc",
"rust-analyzer.linkedProjects": [
".\\Cargo.toml"
]
}
Loading