4040 strategy :
4141 fail-fast : false
4242 matrix :
43- rust-gpu-version :
43+ include :
4444 # As well as testing on each OS, we also want to test to make sure we're still supporting
4545 # older versions of `rust-gpu`. However, we can assume that these tests are already okay
4646 # across platforms, so we only need to test on Linux, the chepeast in terms of minutes.
@@ -52,27 +52,50 @@ jobs:
5252 # """
5353 # It's probably easily fixable. But also `0.7.0` was released in April 2023, so there's
5454 # unlikely many users of it?
55- - 0.8.0
56- - 0.9.0
55+ - rust-gpu-version : 0.8.0
56+ - rust-gpu-version : 0.9.0
5757
5858 # target spec introduction
5959 # last version before
60- - cc752312c3de6813a41189e46476d5c1be5e0bbe
61- # first version
62- - 02cefd101014f66b79dffb20a2c2b5b7c9038401
60+ # * fails: compiler too old, `serde` using `#[diagnostic]`
61+ # - rust-gpu-version: cc752312c3de6813a41189e46476d5c1be5e0bbe
62+ # glam-version: 0.30.7
63+ # first version requiring target specs
64+ # * fails: target spec mismatch!
65+ # * resolution: Since this is just a few commits, I'd be fine ignoring it.
66+ # - rust-gpu-version: 02cefd101014f66b79dffb20a2c2b5b7c9038401
67+ # glam-version: 0.30.7
6368 # target specs change again just a few commits later
64- - bbb61f58b3d24f3f64745050eb214b90bf6dcce9
69+ # * fails: compiler too old, `proc-macro2` using `Literal::byte_character`.
70+ # * resolution: want to support, can't be bothered to hack in old proc-macro2 versions
71+ # - rust-gpu-version: bbb61f58b3d24f3f64745050eb214b90bf6dcce9
72+ # glam-version: 0.30.7
73+
74+ # testing rustc 1.5 months later
75+ - rust-gpu-version : eea8998df9dc2fd8e7a65c5b5b7ae20c238a665a
76+ glam-version : =0.30.7
6577
6678 # just after target specs v2 refactor
6779 # before
68- - a547c6e45266d613d9fec673e869d7a96181e47b
80+ - rust-gpu-version : a547c6e45266d613d9fec673e869d7a96181e47b
81+ glam-version : =0.30.7
6982 # after
70- - 2326b87fe1542eeb898065e36ac949307b55386d
83+ - rust-gpu-version : 2326b87fe1542eeb898065e36ac949307b55386d
84+ glam-version : =0.30.7
85+
86+ # glam semver breakage due to vector type refactor
87+ # before, glam fixed to 0.30.7 in this commit
88+ - rust-gpu-version : f79c4181a5dc2d37303947b113f190930c6c1ce6
89+ # after, glam >0.30.8
90+ - rust-gpu-version : e767f24f2565baf1a71bbaf84d453d181cab2417
7191 runs-on : ubuntu-latest
7292 env :
7393 RUST_LOG : debug
7494 steps :
7595 - uses : actions/checkout@v4
96+ - if : ${{ matrix.glam-version }}
97+ name : set glam version
98+ run : cargo xtask set-dependency glam ${{ matrix.glam-version }}
7699 - name : Run a full build
77100 run : cargo xtask test-build --rust-gpu-version ${{ matrix.rust-gpu-version }}
78101
0 commit comments