Skip to content

Commit 69463b4

Browse files
authored
Merge pull request #3 from arhik/main
Bug fix in function args
2 parents 1fd273d + 784365f commit 69463b4

File tree

16 files changed

+284
-21
lines changed

16 files changed

+284
-21
lines changed

.github/workflows/CI.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
name: CI
2+
on:
3+
push:
4+
branches:
5+
- main
6+
tags: ['*']
7+
pull_request:
8+
concurrency:
9+
# Skip intermediate builds: always.
10+
# Cancel intermediate builds: only if it is a pull request build.
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
13+
jobs:
14+
test:
15+
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
16+
runs-on: ${{ matrix.os }}
17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
version:
21+
- '1.8'
22+
- 'nightly'
23+
os:
24+
- ubuntu-latest
25+
arch:
26+
- x64
27+
- x86
28+
steps:
29+
- uses: actions/checkout@v2
30+
- uses: julia-actions/setup-julia@v1
31+
with:
32+
version: ${{ matrix.version }}
33+
arch: ${{ matrix.arch }}
34+
- uses: julia-actions/cache@v1
35+
- uses: julia-actions/julia-buildpkg@v1
36+
- uses: julia-actions/julia-runtest@v1
37+
- uses: julia-actions/julia-processcoverage@v1
38+
- uses: codecov/codecov-action@v2
39+
with:
40+
files: lcov.info
41+
docs:
42+
name: Documentation
43+
runs-on: ubuntu-latest
44+
permissions:
45+
contents: write
46+
steps:
47+
- uses: actions/checkout@v2
48+
- uses: julia-actions/setup-julia@v1
49+
with:
50+
version: '1'
51+
- uses: julia-actions/julia-buildpkg@v1
52+
- uses: julia-actions/julia-docdeploy@v1
53+
env:
54+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
55+
- run: |
56+
julia --project=docs -e '
57+
using Documenter: DocMeta, doctest
58+
using WGSLTypes
59+
DocMeta.setdocmeta!(WGSLTypes, :DocTestSetup, :(using WGSLTypes); recursive=true)
60+
doctest(WGSLTypes)'

.github/workflows/CompatHelper.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: CompatHelper
2+
on:
3+
schedule:
4+
- cron: 0 0 * * *
5+
workflow_dispatch:
6+
jobs:
7+
CompatHelper:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Pkg.add("CompatHelper")
11+
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
12+
- name: CompatHelper.main()
13+
env:
14+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15+
COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }}
16+
run: julia -e 'using CompatHelper; CompatHelper.main()'

.github/workflows/TagBot.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: TagBot
2+
on:
3+
issue_comment:
4+
types:
5+
- created
6+
workflow_dispatch:
7+
jobs:
8+
TagBot:
9+
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: JuliaRegistries/TagBot@v1
13+
with:
14+
token: ${{ secrets.GITHUB_TOKEN }}
15+
ssh: ${{ secrets.DOCUMENTER_KEY }}

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
*.jl.*.cov
2+
*.jl.cov
3+
*.jl.mem
4+
/Manifest.toml
5+
/docs/build/

LICENSE.md renamed to LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2022 arhik
3+
Copyright (c) 2022 arhik <arhik23@gmail.com>
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

Manifest.toml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# This file is machine-generated - editing it directly is not advised
22

3-
julia_version = "1.8.1"
3+
julia_version = "1.8.2"
44
manifest_format = "2.0"
5-
project_hash = "0c5578d92b6598953cbf89c47599f8bdf2a7fbd3"
5+
project_hash = "7eeeefc3be6a745382da572b163adf70e5a7f093"
66

77
[[deps.Adapt]]
88
deps = ["LinearAlgebra"]
@@ -26,9 +26,9 @@ uuid = "e66e0078-7015-5450-92f7-15fbd957f2ae"
2626
version = "0.5.2+0"
2727

2828
[[deps.DataAPI]]
29-
git-tree-sha1 = "1106fa7e1256b402a86a8e7b15c00c85036fef49"
29+
git-tree-sha1 = "46d2680e618f8abd007bce0c3026cb0c4a8f2032"
3030
uuid = "9a962f9c-6df0-11e9-0e5d-c546b8b5ee8a"
31-
version = "1.11.0"
31+
version = "1.12.0"
3232

3333
[[deps.DataValueInterfaces]]
3434
git-tree-sha1 = "bfc1187b79289637fa0ef6d4436ebdfe6905cbd6"
@@ -127,9 +127,9 @@ uuid = "56ddb016-857b-54e1-b83d-db4d58db5568"
127127

128128
[[deps.MacroTools]]
129129
deps = ["Markdown", "Random"]
130-
git-tree-sha1 = "3d3e902b31198a27340d0bf00d6ac452866021cf"
130+
git-tree-sha1 = "42324d08725e200c23d4dfb549e0d5d89dede2d2"
131131
uuid = "1914dd2f-81c6-5fcd-8719-6d5c9610ff09"
132-
version = "0.5.9"
132+
version = "0.5.10"
133133

134134
[[deps.Markdown]]
135135
deps = ["Base64"]
@@ -202,14 +202,14 @@ uuid = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
202202

203203
[[deps.StaticArrays]]
204204
deps = ["LinearAlgebra", "Random", "StaticArraysCore", "Statistics"]
205-
git-tree-sha1 = "efa8acd030667776248eabb054b1836ac81d92f0"
205+
git-tree-sha1 = "f86b3a049e5d05227b10e15dbb315c5b90f14988"
206206
uuid = "90137ffa-7385-5640-81b9-e52037218182"
207-
version = "1.5.7"
207+
version = "1.5.9"
208208

209209
[[deps.StaticArraysCore]]
210-
git-tree-sha1 = "ec2bd695e905a3c755b33026954b119ea17f2d22"
210+
git-tree-sha1 = "6b7ba252635a5eff6a0b0664a41ee140a1c9e72a"
211211
uuid = "1e83bf80-4336-4d27-bf5d-d5a4f845583c"
212-
version = "1.3.0"
212+
version = "1.4.0"
213213

214214
[[deps.Statistics]]
215215
deps = ["LinearAlgebra", "SparseArrays"]
@@ -234,14 +234,14 @@ version = "1.0.1"
234234

235235
[[deps.Tables]]
236236
deps = ["DataAPI", "DataValueInterfaces", "IteratorInterfaceExtensions", "LinearAlgebra", "OrderedCollections", "TableTraits", "Test"]
237-
git-tree-sha1 = "7149a60b01bf58787a1b83dad93f90d4b9afbe5d"
237+
git-tree-sha1 = "c79322d36826aa2f4fd8ecfa96ddb47b174ac78d"
238238
uuid = "bd369af6-aec1-5ad0-b16a-f7cc5008161c"
239-
version = "1.8.1"
239+
version = "1.10.0"
240240

241241
[[deps.Tar]]
242242
deps = ["ArgTools", "SHA"]
243243
uuid = "a4e569a6-e804-4fa4-b0f3-eef7a1d5b13e"
244-
version = "1.10.0"
244+
version = "1.10.1"
245245

246246
[[deps.Test]]
247247
deps = ["InteractiveUtils", "Logging", "Random", "Serialization"]

Project.toml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,17 @@ Lazy = "50d2b5c4-7a5e-59d5-8109-a42b560f39c0"
99
MacroTools = "1914dd2f-81c6-5fcd-8719-6d5c9610ff09"
1010
Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
1111
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
12+
13+
[compat]
14+
GeometryBasics = "^0.4"
15+
Lazy = "^0.15"
16+
MacroTools = "^0.5"
17+
Reexport = "^1.2"
18+
StaticArrays = "^1.5"
19+
julia = "1.8"
20+
21+
[extras]
22+
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
23+
24+
[targets]
25+
test = ["Test"]

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
1-
# WGSLTypes.jl
2-
Types for WGSL shader code
1+
# WGSLTypes
2+
3+
[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://arhik.github.io/WGSLTypes.jl/stable/)
4+
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://arhik.github.io/WGSLTypes.jl/dev/)
5+
[![Build Status](https://github.com/arhik/WGSLTypes.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/arhik/WGSLTypes.jl/actions/workflows/CI.yml?query=branch%3Amain)
6+
[![Coverage](https://codecov.io/gh/arhik/WGSLTypes.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/arhik/WGSLTypes.jl)

docs/Manifest.toml

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
# This file is machine-generated - editing it directly is not advised
2+
3+
julia_version = "1.8.2"
4+
manifest_format = "2.0"
5+
project_hash = "d966bac02b8117a57a53fa6bc06d03b8613687b8"
6+
7+
[[deps.ANSIColoredPrinters]]
8+
git-tree-sha1 = "574baf8110975760d391c710b6341da1afa48d8c"
9+
uuid = "a4c015fc-c6ff-483c-b24f-f7ea428134e9"
10+
version = "0.0.1"
11+
12+
[[deps.Base64]]
13+
uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
14+
15+
[[deps.Dates]]
16+
deps = ["Printf"]
17+
uuid = "ade2ca70-3891-5945-98fb-dc099432e06a"
18+
19+
[[deps.DocStringExtensions]]
20+
deps = ["LibGit2"]
21+
git-tree-sha1 = "5158c2b41018c5f7eb1470d558127ac274eca0c9"
22+
uuid = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
23+
version = "0.9.1"
24+
25+
[[deps.Documenter]]
26+
deps = ["ANSIColoredPrinters", "Base64", "Dates", "DocStringExtensions", "IOCapture", "InteractiveUtils", "JSON", "LibGit2", "Logging", "Markdown", "REPL", "Test", "Unicode"]
27+
git-tree-sha1 = "6030186b00a38e9d0434518627426570aac2ef95"
28+
uuid = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
29+
version = "0.27.23"
30+
31+
[[deps.IOCapture]]
32+
deps = ["Logging", "Random"]
33+
git-tree-sha1 = "f7be53659ab06ddc986428d3a9dcc95f6fa6705a"
34+
uuid = "b5f81e59-6552-4d32-b1f0-c071b021bf89"
35+
version = "0.2.2"
36+
37+
[[deps.InteractiveUtils]]
38+
deps = ["Markdown"]
39+
uuid = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
40+
41+
[[deps.JSON]]
42+
deps = ["Dates", "Mmap", "Parsers", "Unicode"]
43+
git-tree-sha1 = "3c837543ddb02250ef42f4738347454f95079d4e"
44+
uuid = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
45+
version = "0.21.3"
46+
47+
[[deps.LibGit2]]
48+
deps = ["Base64", "NetworkOptions", "Printf", "SHA"]
49+
uuid = "76f85450-5226-5b5a-8eaa-529ad045b433"
50+
51+
[[deps.Logging]]
52+
uuid = "56ddb016-857b-54e1-b83d-db4d58db5568"
53+
54+
[[deps.Markdown]]
55+
deps = ["Base64"]
56+
uuid = "d6f4376e-aef5-505a-96c1-9c027394607a"
57+
58+
[[deps.Mmap]]
59+
uuid = "a63ad114-7e13-5084-954f-fe012c677804"
60+
61+
[[deps.NetworkOptions]]
62+
uuid = "ca575930-c2e3-43a9-ace4-1e988b2c1908"
63+
version = "1.2.0"
64+
65+
[[deps.Parsers]]
66+
deps = ["Dates"]
67+
git-tree-sha1 = "6c01a9b494f6d2a9fc180a08b182fcb06f0958a0"
68+
uuid = "69de0a69-1ddd-5017-9359-2bf0b02dc9f0"
69+
version = "2.4.2"
70+
71+
[[deps.Printf]]
72+
deps = ["Unicode"]
73+
uuid = "de0858da-6303-5e67-8744-51eddeeeb8d7"
74+
75+
[[deps.REPL]]
76+
deps = ["InteractiveUtils", "Markdown", "Sockets", "Unicode"]
77+
uuid = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb"
78+
79+
[[deps.Random]]
80+
deps = ["SHA", "Serialization"]
81+
uuid = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
82+
83+
[[deps.SHA]]
84+
uuid = "ea8e919c-243c-51af-8825-aaa63cd721ce"
85+
version = "0.7.0"
86+
87+
[[deps.Serialization]]
88+
uuid = "9e88b42a-f829-5b0c-bbe9-9e923198166b"
89+
90+
[[deps.Sockets]]
91+
uuid = "6462fe0b-24de-5631-8697-dd941f90decc"
92+
93+
[[deps.Test]]
94+
deps = ["InteractiveUtils", "Logging", "Random", "Serialization"]
95+
uuid = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
96+
97+
[[deps.Unicode]]
98+
uuid = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5"
99+
100+
[[deps.WGSLTypes]]
101+
path = ".."
102+
uuid = "8cf5275a-6167-4820-ac24-74d7d0e6cf05"
103+
version = "0.1.0"

docs/Project.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[deps]
2+
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
3+
WGSLTypes = "8cf5275a-6167-4820-ac24-74d7d0e6cf05"

0 commit comments

Comments
 (0)