File tree Expand file tree Collapse file tree 5 files changed +77
-7
lines changed 
Tests/NativeBuilderTests/ContainerBuildIRTests Expand file tree Collapse file tree 5 files changed +77
-7
lines changed Original file line number Diff line number Diff line change 1+ name : container project - merge build 
2+ 
3+ on :
4+   push :
5+     branches :
6+       - main 
7+       - release/* 
8+ 
9+ jobs :
10+   build :
11+     name : Invoke build 
12+     uses : ./.github/workflows/common.yml 
13+     with :
14+       release : true 
15+     secrets : inherit 
16+     permissions :
17+       contents : read 
18+       packages : read 
19+       pages : write 
Original file line number Diff line number Diff line change 1- name : container project - PR/merge  build 
1+ name : container project - PR build 
22
33on :
44  pull_request :
55    types : [opened, reopened, synchronize] 
6-   push :
7-     branches :
8-       - main 
9-       - release/* 
106
117jobs :
128  build :
Original file line number Diff line number Diff line change 1+ name : container project - release build 
2+ 
3+ on :
4+   push :
5+     tags :
6+       - " [0-9]+\\ .[0-9]+\\ .[0-9]+" 
7+ 
8+ jobs :
9+   build :
10+     name : Invoke build and release 
11+     uses : ./.github/workflows/common.yml 
12+     with :
13+       release : true 
14+     secrets : inherit 
15+     permissions :
16+       contents : read 
17+       packages : read 
18+       pages : write 
19+ 
20+   release :
21+     if : startsWith(github.ref, 'refs/tags/') 
22+     name : Publish release 
23+     timeout-minutes : 30 
24+     needs : build 
25+     runs-on : ubuntu-latest 
26+     permissions :
27+       contents : write 
28+       packages : read 
29+       pages : write 
30+     steps :
31+       - name : Download artifacts 
32+         uses : actions/download-artifact@v4 
33+         with :
34+           path : outputs 
35+ 
36+       - name : Verify artifacts exist 
37+         run : | 
38+           echo "Checking for expected artifacts..." 
39+           ls -la outputs/container-package/ 
40+           test -e outputs/container-package/*.zip || (echo "Missing .zip file!" && exit 1) 
41+           test -e outputs/container-package/*.pkg || (echo "Missing .pkg file!" && exit 1) 
42+ 
43+        - name : Create release 
44+         uses : softprops/action-gh-release@v2 
45+         with :
46+           token : ${{ github.token }} 
47+           name : ${{ github.ref_name }}-prerelease 
48+           draft : true 
49+           make_latest : false 
50+           prerelease : true 
51+           fail_on_unmatched_files : true 
52+           files : | 
53+             outputs/container-package/*.zip 
54+             outputs/container-package/*.pkg 
Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ all: init-block
5050.PHONY : build
5151build :
5252	@echo Building container binaries...
53+ 	@$(SWIFT )  --version
5354	@$(SWIFT )  build -c $(BUILD_CONFIGURATION ) 
5455
5556.PHONY : container
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ struct DependencyAnalysisTests {
6767        #expect( analyzedStage. nodes [ 2 ] . dependencies. count ==  1 ) 
6868    } 
6969
70-     @Test   func  crossStageDependenciesWithCopyFrom( )  throws  { 
70+     @Test ( . disabled ( ) )   func  crossStageDependenciesWithCopyFrom( )  throws  { 
7171        guard  let  alpineRef =  ImageReference ( parsing:  " alpine " ) , 
7272            let  ubuntuRef =  ImageReference ( parsing:  " ubuntu " ) 
7373        else  { 
@@ -132,7 +132,7 @@ struct DependencyAnalysisTests {
132132            " Entrypoint should depend on copy operation " ) 
133133    } 
134134
135-     @Test   func  stageReferenceResolution( )  throws  { 
135+     @Test ( . disabled ( ) )   func  stageReferenceResolution( )  throws  { 
136136        guard  let  alpineRef =  ImageReference ( parsing:  " alpine " )  else  { 
137137            Issue . record ( " Failed to parse image reference " ) 
138138            return 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments