Skip to content

Commit

Permalink
Merge pull request #131 from mahkoh/jorth/toml
Browse files Browse the repository at this point in the history
config: change default config to use toml-based configuration
  • Loading branch information
mahkoh authored Mar 16, 2024
2 parents 7fcfe35 + 3cebf65 commit a4559f5
Show file tree
Hide file tree
Showing 90 changed files with 15,094 additions and 581 deletions.
2 changes: 2 additions & 0 deletions .builds/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ tasks:
sudo pacman -Syu --noconfirm
sudo pacman -S --noconfirm rustup libinput pango mesa libxkbcommon xorg-xwayland adwaita-icon-theme libxcursor cmake
rustup toolchain install stable
cd jay
git submodule update --init
- test: |
cd jay
cargo test
31 changes: 31 additions & 0 deletions .github/workflows/toml-spec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: toml-spec

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:

env:
CARGO_TERM_COLOR: always

jobs:
rustfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Show env
run: |
uname -a
ldd --version
- name: Install
run: |
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly
rustup toolchain install nightly --allow-downgrade -c rustfmt
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Check
run: |
cd toml-spec
cargo run
git diff --exit-code
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.*
!.gitignore
!.gitmodules
!/.cargo
!/.builds
!/.github
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "toml-config/toml-test"]
path = toml-config/toml-test
url = https://github.com/mahkoh/toml-tests.git
Loading

0 comments on commit a4559f5

Please sign in to comment.