Skip to content

Commit

Permalink
debug everything, clean up soem stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
korewaChino committed Sep 23, 2023
1 parent 5828549 commit 1a8c1c3
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 17 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/arm-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,24 +51,19 @@ jobs:
cargo \
moby-engine
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
# - name: Set up QEMU
# uses: docker/setup-qemu-action@v3

- uses: Swatinem/rust-cache@v2

- name: Build and install katsu
run: |
cargo install --path . --debug
- name: Prepare loop devices
run: |
for i in $(seq 0 23);
do
sudo mknod -m 0660 /dev/loop$i b 7 0 2> /dev/null || true
done
- name: Run test
run: |
export PATH=$HOME/.cargo/bin:$PATH
export KATSU_LOG=trace
pushd tests
COLORBT_SHOW_HIDDEN=1 katsu katsudon-arm.yaml 2>&1
echo "COLORBT_SHOW_HIDDEN=1" >> .env
katsu katsudon-arm.yaml 2>&1
popd
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
target/
.env
8 changes: 4 additions & 4 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ tracing-subscriber = { version = "0.3.16", features = ["env-filter", "tracing-lo
serde_derive = "1.0.152"
serde = "1.0.152"
smartstring = { version = "1.0.1", features = ["serde"]}
dotenv = "0.15.0"
tracing-error = "0.2.0"
regex = { version = "1.8.4", features = ["unicode-case"] }
glob = "0.3.1"
cmd_lib = "1.3.0"
serde_yaml = "0.9.25"
dotenvy = "0.15.7"
3 changes: 2 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ use tracing::trace;
use tracing_subscriber::{prelude::__tracing_subscriber_SubscriberExt, Layer};

fn main() -> Result<()> {
dotenv::dotenv()?;
dotenvy::dotenv()?;

color_eyre::install()?;
let subscriber =
tracing_subscriber::Registry::default().with(tracing_error::ErrorLayer::default()).with(
Expand Down
2 changes: 1 addition & 1 deletion tests/.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# KATSU_TABEN=trace
KATSU_TABEN=info
KATSU_LOG=trace
RUST_BACKTRACE=full

0 comments on commit 1a8c1c3

Please sign in to comment.