Skip to content

Commit

Permalink
[config] Use axconfig-gen in crates.io
Browse files Browse the repository at this point in the history
  • Loading branch information
equation314 committed Dec 30, 2024
1 parent 0dc32da commit 897d8f5
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: [push, pull_request]
env:
qemu-version: 8.2.0
rust-toolchain: nightly-2024-12-25
arceos-apps: '57c8074'
arceos-apps: '53914e4'

jobs:
unit-test:
Expand Down Expand Up @@ -45,5 +45,6 @@ jobs:
run: |
make disk_img
git clone https://github.com/arceos-org/arceos-apps.git
cd arceos-apps && cp ../Cargo.lock . && git reset --hard ${{ env.arceos-apps }} && cd ..
make -C arceos-apps test AX_ROOT=$(pwd) ARCH=${{ matrix.arch }}
cd arceos-apps && git reset --hard ${{ env.arceos-apps }} && cd ..
make -C arceos-apps chaxroot AX_ROOT=$(pwd)
make -C arceos-apps test ARCH=${{ matrix.arch }}
6 changes: 4 additions & 2 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 modules/axconfig/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ repository = "https://github.com/arceos-org/arceos/tree/main/modules/axconfig"
documentation = "https://arceos-org.github.io/arceos/axconfig/index.html"

[dependencies]
axconfig-gen-macros = { git = "https://github.com/arceos-org/axconfig-gen.git", features = ["nightly"] }
axconfig-gen-macros = { version = "0.1.0", features = ["nightly"] }
2 changes: 1 addition & 1 deletion scripts/make/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ endif

_axconfig-gen:
ifeq ($(shell axconfig-gen --version 2>/dev/null),)
$(call run_cmd,RUSTFLAGS="" cargo,install --git https://github.com/arceos-org/axconfig-gen.git)
$(call run_cmd,RUSTFLAGS="" cargo,install axconfig-gen)
endif

.PHONY: _axconfig-gen

0 comments on commit 897d8f5

Please sign in to comment.